OSDN Git Service

2001-01-15 Fernando Nasser <fnasser@redhat.com>
authorFernando Nasser <fnasser@redhat.com>
Mon, 15 Jan 2001 20:18:44 +0000 (20:18 +0000)
committerFernando Nasser <fnasser@redhat.com>
Mon, 15 Jan 2001 20:18:44 +0000 (20:18 +0000)
* srcwin.itb (clear_file): Pass the appropriate value to the GO
argument of mode() so it does not try to read a source file when
no executable is loaded.

gdb/gdbtk/ChangeLog
gdb/gdbtk/library/srcwin.itb

index b0d4f3b..0737b43 100644 (file)
@@ -1,3 +1,9 @@
+2001-01-15  Fernando Nasser  <fnasser@redhat.com>
+
+       * srcwin.itb (clear_file): Pass the appropriate value to the GO 
+       argument of mode() so it does not try to read a source file when
+       no executable is loaded.
+
 2001-01-09  Fernando Nasser  <fnasser@redhat.com>
 
        * library/srcmenubar.itcl (create_file_menu): Add missing incr for
index 750a38f..07ea65f 100644 (file)
@@ -888,7 +888,7 @@ body SrcWin::clear_file {} {
 
   # Reset to Source mode
   if {[$twin mode_get] != "SOURCE"} {
-    mode {} SOURCE
+    mode {} SOURCE 0
   }
 
   no_inferior