aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8abe15c..10626a8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 6a261f0..40f19b8 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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\]*" {}
}
}