aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
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/defs.h
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/defs.h')
-rw-r--r--gdb/defs.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 9467fc7..7872b3b 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"