2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
authorSergio Durigan Junior <sergiodj@redhat.com>
Thu, 2 Aug 2012 20:37:14 +0000 (20:37 +0000)
committerSergio Durigan Junior <sergiodj@redhat.com>
Thu, 2 Aug 2012 20:37:14 +0000 (20:37 +0000)
* gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
s390x, PowerPC 64 and m68k-linux.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/pc-fp.exp

index e587e28..f85848b 100644 (file)
@@ -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
index 5ef6e4e..beb5087 100644 (file)
@@ -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\]+"