* tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific
authorStephane Carrez <stcarrez@nerim.fr>
Thu, 21 Nov 2002 21:25:22 +0000 (21:25 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Thu, 21 Nov 2002 21:25:22 +0000 (21:25 +0000)
interpreter is installed.

gdb/tui/ChangeLog
gdb/tui/tui-hooks.c

index 12179601e58c6e158c6d175b01c1c85f30cd06de..2ed06f3eb04056a5b72487cce7b10acd031a1bd6 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-21  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific
+       interpreter is installed.
+
 2002-11-18  Andrew Cagney  <ac131313@redhat.com>
 
        * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
index e1aad9f03b34817a5727805eb2b48507f737e102..e1c4c126c7b7d6fc9d9b751f6923f85afe84d026 100644 (file)
@@ -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);