diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-10-30 19:03:39 +0100 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-10-30 19:03:39 +0100 |
commit | 055e608a73df932538f0321a0f473eeea840773f (patch) | |
tree | 7cc59885fc4ff66566a0b89db3919f94b274115c /gdb/testsuite | |
parent | 0e5fae36f1d78711b77418146b907060ea34470f (diff) | |
download | gdb-055e608a73df932538f0321a0f473eeea840773f.zip gdb-055e608a73df932538f0321a0f473eeea840773f.tar.gz gdb-055e608a73df932538f0321a0f473eeea840773f.tar.bz2 |
S/390: Add missing gdb_prompt in s390-multiarch.exp
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/s390-multiarch.exp | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 69656a9..bdd775d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gdb/testsuite/gdb.arch/s390-multiarch.exp b/gdb/testsuite/gdb.arch/s390-multiarch.exp index e31ad17..e36e36a 100644 --- a/gdb/testsuite/gdb.arch/s390-multiarch.exp +++ b/gdb/testsuite/gdb.arch/s390-multiarch.exp @@ -62,13 +62,15 @@ proc compile_and_dump {variant ccopts binfile} { } 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 } |