OSDN Git Service

2002-05-06 Martin M. Hunt <hunt@redhat.com>
authorMartin Hunt <hunt@redhat.com>
Tue, 7 May 2002 05:11:09 +0000 (05:11 +0000)
committerMartin Hunt <hunt@redhat.com>
Tue, 7 May 2002 05:11:09 +0000 (05:11 +0000)
* library/session.tcl (notice_file_change): Catch the
directory change, in case the directory no longer exists.

gdb/gdbtk/ChangeLog
gdb/gdbtk/library/session.tcl

index afe3716..70c4a33 100644 (file)
@@ -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):
index 1f9c371..531c7d7 100644 (file)
@@ -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)]} {