aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2012-08-02 20:37:14 +0000
committerSergio Durigan Junior <sergiodj@redhat.com>2012-08-02 20:37:14 +0000
commitb40f514fed16e4b9d155328938ca1a28f73f527b (patch)
tree9ab6e252a5954e0aa5e61e0ca30b14c7a023a9d3 /gdb
parent03d46c0e96e4456f99a0fc63a287b26a17caea12 (diff)
downloadgdb-b40f514fed16e4b9d155328938ca1a28f73f527b.zip
gdb-b40f514fed16e4b9d155328938ca1a28f73f527b.tar.gz
gdb-b40f514fed16e4b9d155328938ca1a28f73f527b.tar.bz2
2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.base/pc-fp.exp: Adjust testcase to match different outputs from s390x, PowerPC 64 and m68k-linux.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/pc-fp.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e587e28..f85848b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
+ s390x, PowerPC 64 and m68k-linux.
+
2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.base/annota1.exp: Accept no frames-invalid notification
diff --git a/gdb/testsuite/gdb.base/pc-fp.exp b/gdb/testsuite/gdb.base/pc-fp.exp
index 5ef6e4e..beb5087 100644
--- a/gdb/testsuite/gdb.base/pc-fp.exp
+++ b/gdb/testsuite/gdb.base/pc-fp.exp
@@ -66,4 +66,4 @@ gdb_test "info register \$fp" "${valueof_fp}.*"
# Regression test for
# http://sourceware.org/bugzilla/show_bug.cgi?id=12659
gdb_test "info register pc fp" \
- "pc: ${valueof_pc}\[\r\n\]+fp: ${valueof_fp}\[\r\n\]+"
+ "pc(:)?( |\t)+${valueof_pc}(( |\t)+${valueof_pc} <.*>)?\[\r\n\]+fp(:)?( |\t)+${valueof_fp}(( |\t)+${valueof_fp})?\[\r\n\]+"