public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tromey@adacore.com>
Subject: [pushed] Update expected results in long_long.exp
Date: Fri,  3 Mar 2023 08:06:34 -0700	[thread overview]
Message-ID: <20230303150634.2439050-1-tromey@adacore.com> (raw)

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


                 reply	other threads:[~2023-03-03 15:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230303150634.2439050-1-tromey@adacore.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).