* tui-hooks.c (tui_event_loop): New function.
authorStephane Carrez <stcarrez@nerim.fr>
Tue, 10 Sep 2002 19:59:31 +0000 (19:59 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Tue, 10 Sep 2002 19:59:31 +0000 (19:59 +0000)
commit2b68e2c5b9fcacc90385c8a750bddf5a7bd0bbe7
treef6bea5b65a97f8f779385eab932d2b14e67c8219
parent99656a61405b59c6dec59fe8a88859f712a35c69
* tui-hooks.c (tui_event_loop): New function.
(tui_command_loop): New function to override gdb loop and make sure
uiout is set according to TUI mode.
(tui_command_loop): Install the specific TUI command hook.
* tuiIO.c (tui_initialize_io): Initialize tui_old_uiout.
(tui_uiout, tui_old_uiout): Make public.
* tuiIO.h (tui_uiout, tui_old_uiout): Declare.
gdb/tui/ChangeLog
gdb/tui/tui-hooks.c
gdb/tui/tuiIO.c
gdb/tui/tuiIO.h