From: Stephane Carrez Date: Thu, 21 Nov 2002 21:25:22 +0000 (+0000) Subject: * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c393d00b53700ba28a4b759fe71e82aa58eda02;p=binutils-gdb.git * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific interpreter is installed. --- diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 12179601e58..2ed06f3eb04 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,3 +1,8 @@ +2002-11-21 Stephane Carrez + + * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific + interpreter is installed. + 2002-11-18 Andrew Cagney * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c index e1aad9f03b3..e1c4c126c7b 100644 --- a/gdb/tui/tui-hooks.c +++ b/gdb/tui/tui-hooks.c @@ -419,6 +419,10 @@ tui_event_loop (void) static void tui_init_hook (char *argv0) { + /* Don't enable the TUI if a specific interpreter is installed. */ + if (interpreter_p) + return; + /* Install exit handler to leave the screen in a good shape. */ atexit (tui_exit);