diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-11-21 21:25:22 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-11-21 21:25:22 +0000 |
commit | 9c393d00b53700ba28a4b759fe71e82aa58eda02 (patch) | |
tree | d3b21edae45c667b3fb7c94ba9bd7e123fe3c07a /gdb/tui/tui-hooks.c | |
parent | 8308e54c5860f1ff242ccc8902e84d0567623fa0 (diff) | |
download | gdb-9c393d00b53700ba28a4b759fe71e82aa58eda02.zip gdb-9c393d00b53700ba28a4b759fe71e82aa58eda02.tar.gz gdb-9c393d00b53700ba28a4b759fe71e82aa58eda02.tar.bz2 |
* tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific
interpreter is installed.
Diffstat (limited to 'gdb/tui/tui-hooks.c')
-rw-r--r-- | gdb/tui/tui-hooks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c index e1aad9f..e1c4c12 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); |