Make testing gdb with FORCE_SEPARATE_MI_TTY=1 actually work
authorPedro Alves <palves@redhat.com>
Thu, 30 Jun 2016 10:55:21 +0000 (11:55 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 30 Jun 2016 10:55:21 +0000 (11:55 +0100)
Runing the whole gdb testsuite with MI on a separate tty, with:

  make check RUNTESTFLAGS="FORCE_SEPARATE_MI_TTY=1"

Doesn't actually work because commit 51f77c3704a6 ("Add testing
infrastruture bits for running with MI on a separate UI") included a
last-minute rename typo, now fixed with this commit.

gdb/testsuite/ChangeLog:
2016-06-30  Pedro Alves  <palves@redhat.com>

* lib/mi-support.exp (default_mi_gdb_start): Declare global
FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/mi-support.exp

index 5dd926e5a9464753761c42266a9af75eb573d0d4..ab0d9e67d6e94d12ea24213b6d3855e31ade0eb5 100644 (file)
@@ -1,3 +1,8 @@
+2016-06-30  Pedro Alves  <palves@redhat.com>
+
+       * lib/mi-support.exp (default_mi_gdb_start): Declare global
+       FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
+
 2016-06-29  Yao Qi  <yao.qi@linaro.org>
 
        * gdb.base/return.c: Add copyright header.
index 7b5c90b5314c7318bc950a56fcba034ae9e9cc1c..28af70a8f4078fc416af3621de21b77647a83c46 100644 (file)
@@ -193,7 +193,7 @@ proc default_mi_gdb_start { args } {
     global timeout
     global gdb_spawn_id gdb_main_spawn_id inferior_spawn_id mi_spawn_id
     global MIFLAGS
-    global SEPARATE_MI_TTY
+    global FORCE_SEPARATE_MI_TTY
 
     if {[info exists FORCE_SEPARATE_MI_TTY]} {
        set separate_mi_pty $FORCE_SEPARATE_MI_TTY