From: Fernando Nasser Date: Mon, 15 Jan 2001 20:18:44 +0000 (+0000) Subject: 2001-01-15 Fernando Nasser X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f0743af220c4355ee5b1f4e2c09d741f46a6535d;p=pf3gnuchains%2Fpf3gnuchains3x.git 2001-01-15 Fernando Nasser * 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. --- diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog index b0d4f3b572..0737b43728 100644 --- a/gdb/gdbtk/ChangeLog +++ b/gdb/gdbtk/ChangeLog @@ -1,3 +1,9 @@ +2001-01-15 Fernando Nasser + + * 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 * 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 750a38faaf..07ea65f44f 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