aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1998-07-19 09:33:34 +0000
committerMartin Hunt <hunt@redhat.com>1998-07-19 09:33:34 +0000
commit4d14b2522a69012169e9fdb659f906b2402866ee (patch)
treea2fb239d9618becebc64d38c7dc53feda3250661 /gdb/gdbtk.c
parentc5f3dafb2941f14fb2a9b8fa91e72ba377211c0e (diff)
downloadgdb-4d14b2522a69012169e9fdb659f906b2402866ee.zip
gdb-4d14b2522a69012169e9fdb659f906b2402866ee.tar.gz
gdb-4d14b2522a69012169e9fdb659f906b2402866ee.tar.bz2
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. 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.
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index 22057df..ba72e0a 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -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 ();