From 37767e423b008f0dbd38b3f0ed07ecacc163a9b3 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 14 Jul 2001 18:59:07 +0000 Subject: * 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. --- gdb/defs.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index 9467fc74a8b..7872b3b3d70 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -165,13 +165,6 @@ extern int is_cplus_marker (int); /* use tui interface if non-zero */ extern int tui_version; -#if defined(TUI) -/* all invocations of TUIDO should have two sets of parens */ -#define TUIDO(x) tuiDo x -#else -#define TUIDO(x) -#endif - /* enable xdb commands if set */ extern int xdb_commands; @@ -625,11 +618,6 @@ extern struct ui_file *gdb_stdtarg; #if defined(TUI) #include "tui.h" -#include "tuiCommand.h" -#include "tuiData.h" -#include "tuiIO.h" -#include "tuiLayout.h" -#include "tuiWin.h" #endif #include "ui-file.h" -- cgit v1.2.1