From: Tom Tromey <tromey@adacore.com>
To: Andrew Burgess <aburgess@redhat.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>,
Tom Tromey via Gdb-patches <gdb-patches@sourceware.org>,
Tom Tromey <tromey@adacore.com>
Subject: Re: [PATCH] Change how "print/x" displays floating-point value
Date: Thu, 10 Mar 2022 10:30:29 -0700 [thread overview]
Message-ID: <878rthogui.fsf@tromey.com> (raw)
In-Reply-To: <871qzzdvdu.fsf@redhat.com> (Andrew Burgess's message of "Sat, 19 Feb 2022 10:05:17 +0000")
>>>>> "Andrew" == Andrew Burgess <aburgess@redhat.com> writes:
Andrew> if { sizeof(int) == sizeof(float) } {
Andrew> set expected_value [valueof "p/d *((int *) &f_var)"]
Andrew> gdb_test "print/d f_var" "$expected_value"
Andrew> }
Andrew> As I think these two methods of printing are now the same, right?
Nice, I'll do this.
Tom
next prev parent reply other threads:[~2022-03-10 17:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 21:29 Tom Tromey
2022-02-17 23:17 ` Andrew Burgess
2022-02-18 16:44 ` Tom Tromey
2022-02-18 17:02 ` Eli Zaretskii
2022-03-10 17:27 ` Tom Tromey
2022-03-10 17:54 ` Eli Zaretskii
2022-03-10 19:19 ` Tom Tromey
2022-02-18 17:41 ` Andreas Schwab
2022-02-19 10:05 ` Andrew Burgess
2022-03-10 17:30 ` Tom Tromey [this message]
2022-03-10 17:30 ` Tom Tromey
2022-03-10 18:23 ` Andreas Schwab
2022-03-10 20:39 ` Tom Tromey
2022-03-10 20:53 ` Andreas Schwab
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=878rthogui.fsf@tromey.com \
--to=tromey@adacore.com \
--cc=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=schwab@linux-m68k.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).