OSDN Git Service

* 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)
commitccc043d8b1e76c29d053623af2535bf97fe2645b
tree726f860bfccfc435995fba69e490c1ff12eded05
parent0f4c56c35825ef5c80c4176ffe140f33fd2dbc64
* 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