This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Interpreter and TUI problems on 5.3 branch and head


Two problems:
  TUI broke the MI interface if TUI is enabled at compile time.  The change
which did this does was on Sept. 10th, 2002.  There's a typo in the
ChangeLog which made it hard to find...

        * 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.

(the second tui_command_loop should have been tui_init_hook).

You can't just override the command loop that way!  MI does this
conditionally on -i=mi being specified.

This also breaks the bit at the end of gdb/top.c to handle unknown -i=
switches.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]