aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-03-03 08:05:41 -0700
committerTom Tromey <tromey@adacore.com>2023-03-03 08:05:41 -0700
commitc35b7b2252323a1afa561ef2d56f5ae1b63b667a (patch)
tree393d6bba361a0cfcc40c79ea457986514f293928
parentadbe951fc95943016325af08d677f18e8c177ac1 (diff)
downloadbinutils-c35b7b2252323a1afa561ef2d56f5ae1b63b667a.zip
binutils-c35b7b2252323a1afa561ef2d56f5ae1b63b667a.tar.gz
binutils-c35b7b2252323a1afa561ef2d56f5ae1b63b667a.tar.bz2
Update expected results in long_long.exp
Simon pointed out that the recent patch to add half-float support to 'x/f' caused a couple of regressions in long_long.exp. This patch fixes these by updating the expected results.
-rw-r--r--gdb/testsuite/gdb.base/long_long.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/long_long.exp b/gdb/testsuite/gdb.base/long_long.exp
index 357f7cc..3e72d69 100644
--- a/gdb/testsuite/gdb.base/long_long.exp
+++ b/gdb/testsuite/gdb.base/long_long.exp
@@ -176,7 +176,7 @@ gdb_test_short "p/u *(short *)s" "" "291" ""
gdb_test_short "p/o *(short *)s" "" "0443" ""
gdb_test_short "p/t *(short *)s" "" "100100011" ""
gdb_test_short "p/a *(short *)s" "" "0x123( <.*>)?" ""
-gdb_test_short "p/f *(short *)s" "" "291" ""
+gdb_test_short "p/f *(short *)s" "" "1.7345e-0?5" ""
gdb_test_short "p/c *(short *)s" "" "35 '.'" ""
gdb_test_int "p/x *(int *)i" "" "0x123" "0x1234567" ""
@@ -256,7 +256,7 @@ gdb_test "x/2ho h" "0443.*0123456"
gdb_test "x/2ht h" "0000000100100011.*1010011100101110"
gdb_test_ptr "x/2ha h" "" "" "0x123.*0xffffa72e" "0x123.*0xffffffffffffa72e"
gdb_test "x/2hc h" "35 '.'.*46 '.'"
-gdb_test "x/2hf h" "291.*-22738"
+gdb_test "x/2hf h" "1.7345e-0?5.*-0.028046"
gdb_test "x/2wx w" "0x01234567.*0xa72ee539"
gdb_test "x/2wd w" "19088743.*-1490098887"