Re: [PATCH 0/4] gdb/testsuite: "long double" infcall tests

Pedro Alves <[email protected]> Wed, 22 Jul 2026 14:01:32 +0100
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
FYI, I pushed this.

On 2026-07-14 23:06, Pedro Alves wrote:
> 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/[email protected]/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