From 4d14b2522a69012169e9fdb659f906b2402866ee Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Sun, 19 Jul 1998 09:33:34 +0000 Subject: Sun Jul 19 02:11:45 1998 Martin M. Hunt * 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 * 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/gdbtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/gdbtk.c') 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 (); -- cgit v1.1