diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2007-06-21 15:26:05 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2007-06-21 15:26:05 +0000 |
commit | 6a2eb47454bb7f4c86c7841c3a6c482222577904 (patch) | |
tree | 3caa9254b1318757a3131d00f2a84850e863417a /gdb/testsuite/gdb.base/pc-fp.exp | |
parent | a4642986412fbd22873bf4f64e4d3ee7c5aeabac (diff) | |
download | binutils-gdb-6a2eb47454bb7f4c86c7841c3a6c482222577904.tar.gz |
gdb/:
* printcmd.c (do_one_display): If display/i, start with an initial
line feed to avoid bad layout if there is a branch delay slot.
gdb/testsuite/:
* gdb.base/display.exp: Allow a newline after display/i.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/pc-fp.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/pc-fp.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/pc-fp.exp b/gdb/testsuite/gdb.base/pc-fp.exp index ac5b1c050a1..0ebce9dc5de 100644 --- a/gdb/testsuite/gdb.base/pc-fp.exp +++ b/gdb/testsuite/gdb.base/pc-fp.exp @@ -82,7 +82,7 @@ set valueof_fp [get_valueofx "/x" "\$fp" "0"] # display since that encodes and then decodes the expression parameter # (and hence uses the mechanisms we're trying to test). -gdb_test "display/i \$pc" "1: x/i +\\\$pc +${valueof_pc}.*" +gdb_test "display/i \$pc" "1: x/i +\\\$pc( +|\r\n)${valueof_pc}.*" gdb_test "display/w \$fp" "2: x/xw +\\\$fp +${valueof_fp}.*" # FIXME: cagney/2002-09-04: Should also check that ``info registers |