FYI: fix 'info reg' output

Andreas Schwab schwab@linux-m68k.org
Thu Jul 19 09:22:00 GMT 2012


Tom Tromey <tromey@redhat.com> writes:

> +# 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\]+"
>

info register pc fp
pc             0x100005d0	0x100005d0 <main+20>
fp: 0xfffffffd6e0
(gdb) FAIL: gdb.base/pc-fp.exp: info register pc fp

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