summaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-14 13:58:06 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-14 13:58:06 +0000
commit1aa0e8111b5c86242de83d20154e973603daf2d5 (patch)
tree24998d8500868b9803deed5d13b748c120387d10 /gdb/defs.h
parent65a6fbe885f7749fa69226d8535aa23a40f3ba37 (diff)
downloadgdb-1aa0e8111b5c86242de83d20154e973603daf2d5.tar.gz
2003-02-14 Andrew Cagney <ac131313@redhat.com>
* main.c (tui_version): Delete variable. (captured_main): When --tui, set interpreter_p to "tui" instead of enabling tui_version. * printcmd.c (display_command) [TUI]: Test tui_active instead of tui_version. * cli/cli-decode.c (lookup_cmd_composition): Ditto. * cli/cli-cmds.c (disassemble_command): Ditto. * defs.h (tui_version): Delete declaration. * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". (tui-interp.o): Add rules. (SUBDIR_TUI_OBS): Add "tui-interp.o". Index: tui/ChangeLog 2003-02-14 Andrew Cagney <ac131313@redhat.com> * tui.c (tui_enable, tui_disable): Don't modify tui_version. (tui_is_window_visible, tui_get_command_dimension): Test tui_active instead of tui_version. * tuiData.h (tui_version): Delete declaration. * tui-hooks.c (tui_init_hook, tui_event_loop): Delete function, moved to "tui-interp.c". (tui_exit, tui_command_loop): Ditto. (_initialize_tui): Don't initialize init_ui_hook. Initialize target_new_objfile_hook. * tui-interp.c: New file.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index faa0b402b11..7caef76cf17 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -160,9 +160,6 @@ typedef bfd_vma CORE_ADDR;
/* Check if a character is one of the commonly used C++ marker characters. */
extern int is_cplus_marker (int);
-/* use tui interface if non-zero */
-extern int tui_version;
-
/* enable xdb commands if set */
extern int xdb_commands;