aboutsummaryrefslogtreecommitdiff
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
commit37767e423b008f0dbd38b3f0ed07ecacc163a9b3 (patch)
tree0adcd4e9c47b912024ee47094a3539c6cfc47f1d /gdb/event-top.c
parent5030876b5d24547ba717ad06408848145374e276 (diff)
downloadgdb-37767e423b008f0dbd38b3f0ed07ecacc163a9b3.zip
gdb-37767e423b008f0dbd38b3f0ed07ecacc163a9b3.tar.gz
gdb-37767e423b008f0dbd38b3f0ed07ecacc163a9b3.tar.bz2
* 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 40ef3ce..2519aae 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