From: Robert Dubner <rdubner@symas.com>
To: gdb-patches@sourceware.org
Cc: stephan.rohr@intel.com
Subject: [PATCH v2 0/2] gdb: Fix floating-point field writes and subnormal results
Date: Mon, 9 Nov 2026 16:24:48 -0500 [thread overview]
Message-ID: <20261109212450.3137464-1-rdubner@symas.com> (raw)
This series addresses two target floating-point encoding problems
reported in PR gdb/34927.
Changes since v1:
- Add unit tests directly in target-float.c for both fixes.
- Explain the subnormal boundary, minimum-exponent calculation,
and significand scaling.
Tested on x86_64 GNU/Linux with MPFR enabled: all 202 selftests
pass, and targeted DejaGNU testing reports 76 expected passes
with no failures.
Robert Dubner (2):
gdb: Preserve neighboring bits when writing floating-point fields
gdb: Preserve subnormal values in target floating-point operations
gdb/target-float.c | 396 ++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 353 insertions(+), 43 deletions(-)
base-commit: 9db3b515b964c1bbdc4d20c1202fbf27719be269
--
2.34.1
next reply other threads:[~2026-11-09 21:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 21:24 Robert Dubner [this message]
2026-11-09 21:24 ` [PATCH v2 1/2] gdb: Preserve neighboring bits when writing floating-point fields Robert Dubner
2026-11-10 10:23 ` Rohr, Stephan
2026-11-11 4:03 ` Robert Dubner
2026-11-09 21:24 ` [PATCH v2 2/2] gdb: Preserve subnormal values in target floating-point operations Robert Dubner
2026-11-10 10:40 ` Rohr, Stephan
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=20261109212450.3137464-1-rdubner@symas.com \
--to=rdubner@symas.com \
--cc=gdb-patches@sourceware.org \
--cc=stephan.rohr@intel.com \
/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