Sun Jul 19 02:11:45 1998 Martin M. Hunt <hunt@cygnus.com>
authorMartin Hunt <hunt@redhat.com>
Sun, 19 Jul 1998 09:33:34 +0000 (09:33 +0000)
committerMartin Hunt <hunt@redhat.com>
Sun, 19 Jul 1998 09:33:34 +0000 (09:33 +0000)
* symtab.c (decode_line_2): Instead of printing a prompt
and calling command_line_input() without a prompt, just
call it with the proper args.  This makes the GUI work too.

Sat Jul 18 12:28:39 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdbtk_cleanup): Add call to tcl function
gdbtk_cleanup. We need this so the GUI gets to clean
up no matter how GDB exits.

gdb/ChangeLog
gdb/ChangeLog-gdbtk
gdb/gdbtk.c

index cb5c27e..b75d4fd 100644 (file)
@@ -1,3 +1,9 @@
+Sun Jul 19 02:11:45 1998  Martin M. Hunt  <hunt@cygnus.com>
+
+       * symtab.c (decode_line_2): Instead of printing a prompt
+       and calling command_line_input() without a prompt, just
+       call it with the proper args.  This makes the GUI work too.
+
 Fri Jul 17 9:26:50 1998  Ron Unrau  <runrau@cygnus.com>
 
        * blockframe.c (find_pc_sect_partial_function): allow for the possi-
index 7210894..88f22f9 100644 (file)
@@ -1,3 +1,9 @@
+Sat Jul 18 12:28:39 1998  Martin M. Hunt  <hunt@cygnus.com>
+
+       * gdbtk.c (gdbtk_cleanup): Add call to tcl function
+       gdbtk_cleanup. We need this so the GUI gets to clean
+       up no matter how GDB exits.
+
 Wed Jul  1 13:10:58 1998  Jim Ingham   <jingham@cygnus.com>
 
        * Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c &
index 22057df..ba72e0a 100644 (file)
@@ -351,9 +351,9 @@ static void
 gdbtk_cleanup (dummy)
      PTR dummy;
 {
+  Tcl_Eval (gdbtk_interp, "gdbtk_cleanup");
 #ifdef IDE
   struct ide_event_handle *h = (struct ide_event_handle *) dummy;
-
   ide_interface_deregister_all (h);
 #endif
   Tcl_Finalize ();