summaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2001-07-14 18:59:07 +0000
committerStephane Carrez <stcarrez@nerim.fr>2001-07-14 18:59:07 +0000
commitec9f8b7b92c1f0c0d28c181311f635797accb838 (patch)
tree9e29b7dfc501edfcd1a623a3d88628083274c26e /gdb/event-top.c
parent7f7ef62bf82d1ec6ca1fc3220ed5a386fcc0213a (diff)
downloadgdb-ec9f8b7b92c1f0c0d28c181311f635797accb838.tar.gz
* utils.c (query): Remove tui hacks; tui must use the query_hook.
* top.c (command_loop): Remove tui insert_mode hacks; don't call tuiCleanUp because this must be made with atexit by tui. * symfile.c (symbol_file_command): Remove call to TUIDO * stack.c (show_and_print_stack_frame_stub): Remove tui check; not necessary when using the selected frame hooks. (print_stack_frame_stub): Likewise. (print_frame_info_base): Likewise. (print_frame_info): Likewise. (up_silently_command): Likewise. (down_silently_command): Likewise. (show_stack_frame): Likewise for TUIDO. (select_frame): Likewise. (select_and_print_frame): Likewise. (stack_publish_stopped_with_no_frame): Remove. (select_and_maybe_print_frame): Remove. * main.c (captured_main): Remove tui_fileopen and tuiInit; tui must use the initialize ui hook. * infrun.c (normal_stop): Remove call to TUIDO; tui must use the selected frame hooks. * event-top.c (command_handler): Remove tui insert_mode hack. * defs.h: Remove TUIDO; Only include tui.h. * breakpoint.c (mention): Remove calls to TUIDO. (delete_breakpoint): Remove tui hacks; tui must install the breakpoint hooks.
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 40ef3ce7528..2519aae1928 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -478,18 +478,11 @@ command_handler (char *command)
extern int display_time;
extern int display_space;
-#if defined(TUI)
- extern int insert_mode;
-#endif
-
quit_flag = 0;
if (instream == stdin && stdin_is_tty)
reinitialize_more_filter ();
old_chain = make_cleanup (null_cleanup, 0);
-#if defined(TUI)
- insert_mode = 0;
-#endif
/* If readline returned a NULL command, it means that the
connection with the terminal is gone. This happens at the
end of a testsuite run, after Expect has hung up