summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-01-15 20:18:44 +0000
committerFernando Nasser <fnasser@redhat.com>2001-01-15 20:18:44 +0000
commitf0743af220c4355ee5b1f4e2c09d741f46a6535d (patch)
tree2d65fb8d8b02eafad03a6767c0742319a7789b56 /gdb
parentaabb1fcf560e308069643d59c9456f2579486568 (diff)
downloadgdb-f0743af220c4355ee5b1f4e2c09d741f46a6535d.tar.gz
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbtk/ChangeLog6
-rw-r--r--gdb/gdbtk/library/srcwin.itb2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index b0d4f3b5727..0737b437282 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -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
diff --git a/gdb/gdbtk/library/srcwin.itb b/gdb/gdbtk/library/srcwin.itb
index 750a38faafc..07ea65f44ff 100644
--- a/gdb/gdbtk/library/srcwin.itb
+++ b/gdb/gdbtk/library/srcwin.itb
@@ -888,7 +888,7 @@ body SrcWin::clear_file {} {
# Reset to Source mode
if {[$twin mode_get] != "SOURCE"} {
- mode {} SOURCE
+ mode {} SOURCE 0
}
no_inferior