From 4d14b2522a69012169e9fdb659f906b2402866ee Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Sun, 19 Jul 1998 09:33:34 +0000 Subject: [PATCH] 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/ChangeLog | 6 ++++++ gdb/ChangeLog-gdbtk | 6 ++++++ gdb/gdbtk.c | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb5c27e908..b75d4fd352 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +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. + Fri Jul 17 9:26:50 1998 Ron Unrau * blockframe.c (find_pc_sect_partial_function): allow for the possi- diff --git a/gdb/ChangeLog-gdbtk b/gdb/ChangeLog-gdbtk index 7210894846..88f22f93e4 100644 --- a/gdb/ChangeLog-gdbtk +++ b/gdb/ChangeLog-gdbtk @@ -1,3 +1,9 @@ +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. + Wed Jul 1 13:10:58 1998 Jim Ingham * Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c & diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 22057dfcd8..ba72e0a0d9 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 (); -- 2.34.1