From: Pedro Alves <pedro@palves.net>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/4] gdb/testsuite: "long double" infcall tests
Date: Tue, 14 Jul 2026 23:06:27 +0100 [thread overview]
Message-ID: <20260714220631.1499846-1-pedro@palves.net> (raw)
This series adds coverage for calling functions with long double in
their arguments, in cases where the "long double" type comes from
GDB's own built-in type, not debug info. These tests expose the need
for GDB knowing that "long double" is 64-bit on windows-msvc. See:
[PATCH 0/4] Support the Windows/MSVC target in GDB
https://inbox.sourceware.org/gdb-patches/20260714004507.1323332-1-pedro@palves.net/T/
These new tests fail on x86_64-pc-windows-msvc with unfixed GDB, and
pass cleanly with a fixed GDB. I don't have Aarch64 to test, but I
expect it's the same there.
Pedro Alves (4):
gdb.base/nodebug.exp: Add long double testing
gdb.base/callfuncs.exp: Adjust for Windows
gdb.base/callfuncs.c: factor out float/double functions
gdb.base/callfuncs.exp: Exercise "long double"
gdb/testsuite/gdb.base/callfuncs.c | 166 ++++++++++++++-------------
gdb/testsuite/gdb.base/callfuncs.exp | 52 +++++++--
gdb/testsuite/gdb.base/nodebug.c | 13 +++
gdb/testsuite/gdb.base/nodebug.exp | 6 +
4 files changed, 145 insertions(+), 92 deletions(-)
base-commit: 490469846dcef89fe53668bdbba73591c64bed61
--
2.54.0
next reply other threads:[~2026-07-14 22:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-14 22:06 Pedro Alves [this message]
2026-07-14 22:06 ` [PATCH 1/4] gdb.base/nodebug.exp: Add long double testing Pedro Alves
2026-07-16 21:14 ` Andrew Burgess
2026-07-17 13:59 ` Pedro Alves
2026-07-22 18:41 ` Andrew Burgess
2026-07-14 22:06 ` [PATCH 2/4] gdb.base/callfuncs.exp: Adjust for Windows Pedro Alves
2026-07-14 22:25 ` Pedro Alves
2026-07-16 21:26 ` Andrew Burgess
2026-07-17 14:27 ` Pedro Alves
2026-07-22 18:42 ` Andrew Burgess
2026-07-14 22:06 ` [PATCH 3/4] gdb.base/callfuncs.c: factor out float/double functions Pedro Alves
2026-07-16 21:33 ` Andrew Burgess
2026-07-14 22:06 ` [PATCH 4/4] gdb.base/callfuncs.exp: Exercise "long double" Pedro Alves
2026-07-16 21:36 ` Andrew Burgess
2026-07-22 13:01 ` [PATCH 0/4] gdb/testsuite: "long double" infcall tests Pedro Alves
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=20260714220631.1499846-1-pedro@palves.net \
--to=pedro@palves.net \
--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