diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-14 18:59:07 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-14 18:59:07 +0000 |
commit | 37767e423b008f0dbd38b3f0ed07ecacc163a9b3 (patch) | |
tree | 0adcd4e9c47b912024ee47094a3539c6cfc47f1d /gdb/main.c | |
parent | 5030876b5d24547ba717ad06408848145374e276 (diff) | |
download | gdb-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/main.c')
-rw-r--r-- | gdb/main.c | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -36,12 +36,6 @@ #include "event-loop.h" #include "ui-out.h" -#if defined (TUI) -/* FIXME: cagney/2000-01-31: This #include is to allow older code such - as that found in the TUI to continue to build. */ -#include "tui/tui-file.h" -#endif - /* If nonzero, display time usage both at startup and for each command. */ int display_time; @@ -195,17 +189,10 @@ captured_main (void *data) getcwd (gdb_dirbuf, sizeof (gdb_dirbuf)); current_directory = gdb_dirbuf; -#if defined (TUI) - gdb_stdout = tui_fileopen (stdout); - gdb_stderr = tui_fileopen (stderr); - gdb_stdlog = gdb_stdout; /* for moment */ - gdb_stdtarg = gdb_stderr; /* for moment */ -#else gdb_stdout = stdio_fileopen (stdout); gdb_stderr = stdio_fileopen (stderr); gdb_stdlog = gdb_stderr; /* for moment */ gdb_stdtarg = gdb_stderr; /* for moment */ -#endif /* initialize error() */ error_init (); @@ -482,12 +469,6 @@ extern int gdbtk_test (char *); quiet = 1; } -#if defined(TUI) - /* Should this be moved to tui-top.c:_initialize_tui()? */ - if (tui_version) - init_ui_hook = tuiInit; -#endif - /* Initialize all files. Give the interpreter a chance to take control of the console via the init_ui_hook()) */ gdb_init (argv[0]); |