public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Update expected results in long_long.exp
@ 2023-03-03 15:06 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-03-03 15:06 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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.
---
 gdb/testsuite/gdb.base/long_long.exp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdb/testsuite/gdb.base/long_long.exp b/gdb/testsuite/gdb.base/long_long.exp
index 357f7cc8063..3e72d69ece9 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"
-- 
2.39.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-03 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 15:06 [pushed] Update expected results in long_long.exp Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).