Correct the patterns in the gdb_test_multiple invocation.
testsuite/
2013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
* gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
the patterns in gdb_test_multiple.
+2013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
+ the patterns in gdb_test_multiple.
+
2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
* gdb.base/sym-file-lib.c: New file.
}
proc test_linux_v2 {} {
+ global gdb_prompt
+
set test "Linux v2"
gdb_test_multiple "info reg system_call" "$test" {
- -re "system_call\[ \t\]+0x\[0-9a-z\]+\t.*" {
+ -re "system_call\[ \t\]+0x\[0-9a-z\]+\t.*\r\n$gdb_prompt $" {
pass "$test"
return 1
}
- -re "Invalid register `system_call'.*" {
+ -re "Invalid register `system_call'.*\r\n$gdb_prompt $" {
unsupported "$test (no system_call reg)"
return 0
}