[PATCH] Adjust `pc-fp.exp' for ppc64/s390x (PR 12659)

Andreas Schwab schwab@linux-m68k.org
Wed Aug 1 22:03:00 GMT 2012


Sergio Durigan Junior <sergiodj@redhat.com> writes:

> Index: src/gdb/testsuite/gdb.base/pc-fp.exp
>
> ===================================================================
> --- src.orig/gdb/testsuite/gdb.base/pc-fp.exp
> +++ src/gdb/testsuite/gdb.base/pc-fp.exp
> @@ -66,4 +66,4 @@ gdb_test "info register \$fp" "${valueof
>  # 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.*\[\r\n\]+fp.*\[\r\n\]+"

That will of course match the erroneous output.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gdb-patches mailing list