aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/pc-fp.exp
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2007-06-21 15:26:05 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2007-06-21 15:26:05 +0000
commit6a2eb47454bb7f4c86c7841c3a6c482222577904 (patch)
tree3caa9254b1318757a3131d00f2a84850e863417a /gdb/testsuite/gdb.base/pc-fp.exp
parenta4642986412fbd22873bf4f64e4d3ee7c5aeabac (diff)
downloadgdb-6a2eb47454bb7f4c86c7841c3a6c482222577904.zip
gdb-6a2eb47454bb7f4c86c7841c3a6c482222577904.tar.gz
gdb-6a2eb47454bb7f4c86c7841c3a6c482222577904.tar.bz2
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.exp2
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 ac5b1c0..0ebce9d 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