diff options
author | Martin Hunt <hunt@redhat.com> | 2002-05-07 05:11:09 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2002-05-07 05:11:09 +0000 |
commit | 7eb5b045f71473513e515f8d5c5af2daba21795c (patch) | |
tree | f4dd7b5b9911834622f082d47992aaf44640c6e3 /gdb/gdbtk | |
parent | be36971908d605dd2484012aae4d411548535bef (diff) | |
download | gdb-7eb5b045f71473513e515f8d5c5af2daba21795c.tar.gz |
2002-05-06 Martin M. Hunt <hunt@redhat.com>
* library/session.tcl (notice_file_change): Catch the
directory change, in case the directory no longer exists.
Diffstat (limited to 'gdb/gdbtk')
-rw-r--r-- | gdb/gdbtk/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbtk/library/session.tcl | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog index afe37165a4d..70c4a338192 100644 --- a/gdb/gdbtk/ChangeLog +++ b/gdb/gdbtk/ChangeLog @@ -1,3 +1,8 @@ +2002-05-06 Martin M. Hunt <hunt@redhat.com> + + * library/session.tcl (notice_file_change): Catch the + directory change, in case the directory no longer exists. + 2002-05-05 Alexandre Oliva <aoliva@redhat.com> * generic/gdbtk-register.c (get_register, register_changed_p): diff --git a/gdb/gdbtk/library/session.tcl b/gdb/gdbtk/library/session.tcl index 1f9c3711e17..531c7d7de01 100644 --- a/gdb/gdbtk/library/session.tcl +++ b/gdb/gdbtk/library/session.tcl @@ -244,7 +244,7 @@ namespace eval Session { } if {[info exists values(pwd)]} { - gdb_cmd "cd $values(pwd)" + catch {gdb_cmd "cd $values(pwd)"} } if {[info exists values(args)]} { |