Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] gdb/testsuite: "long double" infcall tests
@ 2026-07-14 22:06 Pedro Alves
  2026-07-14 22:06 ` [PATCH 1/4] gdb.base/nodebug.exp: Add long double testing Pedro Alves
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Pedro Alves @ 2026-07-14 22:06 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-07-22 18:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 22:06 [PATCH 0/4] gdb/testsuite: "long double" infcall tests Pedro Alves
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox