* lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 16 Mar 2007 15:29:00 +0000 (15:29 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 16 Mar 2007 15:29:00 +0000 (15:29 +0000)
messages available to test cases (like chng-sym.exp).

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 8abe15c..10626a8 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
+       messages available to test cases (like chng-sym.exp).
+
 2007-03-14  Andreas Schwab  <schwab@suse.de>
 
        * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
index 6a261f0..40f19b8 100644 (file)
@@ -283,7 +283,9 @@ proc gdb_run_cmd {args} {
            send_gdb "y\n"
            exp_continue
        }
-       -re "Starting program: \[^\r\n\]*" {}
+       # Use -notransfer here so that test cases (like chng-sym.exp)
+       # may test for additional start-up messages.
+       -notransfer -re "Starting program: \[^\r\n\]*" {}
     }
 }