* library/interface.tcl (gdbtk_quit_check): Save session whenever
possible.
+2001-01-02 Fernando Nasser <fnasser@totem.toronto.redhat.com>
+
+ * library/interface.tcl (gdbtk_quit_check): Save session whenever
+ possible.
+
2001-01-01 Fernando Nasser <fnasser@totem.toronto.redhat.com>
* library/ChangeLog-2000: New file. Entries dated 2000 moved here
if {![gdbtk_tcl_query $msg no]} {
return 0
}
- } elseif {$gdb_exe_name != ""} {
+ }
+
+ # If we have an executable file loaded, save a session associated to it
+ if {$gdb_exe_name != ""} {
session_save
}
return 1