2003-02-14 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 14 Feb 2003 13:58:06 +0000 (13:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 14 Feb 2003 13:58:06 +0000 (13:58 +0000)
commit021e7609055e94c3b2f0ac757c9640d393ed2000
treea992b5a8ac54ade41fcca5b86f1e9622daa1d385
parented781d5d99c9e91d230e60c75ac10d3ac14f7736
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.
12 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/cli/cli-cmds.c
gdb/cli/cli-decode.c
gdb/defs.h
gdb/main.c
gdb/printcmd.c
gdb/tui/ChangeLog
gdb/tui/tui-hooks.c
gdb/tui/tui-interp.c [new file with mode: 0644]
gdb/tui/tui.c
gdb/tui/tuiData.h