[Bug tdep/29543] [gdb/tdep] inferior call with complex long double vararg not handled correctly

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Sep 2 13:07:03 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=29543

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 14309
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14309&action=edit
gzipped executable

Static executable, so no dynamic libs needed, which should make it easier to
run on other systems:
...
$ file varargs 
varargs: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, version 1
(SYSV), statically linked,
BuildID[sha1]=8792d24c47498f2eee792c53a0136c6249c84c21, with debug_info, not
stripped
...

Reproduce using:
...
$ gdb -q -batch ./varargs -ex "tbreak test" -ex run -ex "print do_copy (1,
orig)" -ex "print copy"
Temporary breakpoint 1 at 0x1000018c: file
/home/abuild/rpmbuild/BUILD/gdb-12.1/build-ppc64le-suse-linux/gdb/testsuite/../../../gdb/testsuite/gdb.base/varargs.c,
line 10.

Temporary breakpoint 1, test () at
/home/abuild/rpmbuild/BUILD/gdb-12.1/build-ppc64le-suse-linux/gdb/testsuite/../../../gdb/testsuite/gdb.base/varargs.c:10
10     
/home/abuild/rpmbuild/BUILD/gdb-12.1/build-ppc64le-suse-linux/gdb/testsuite/../../../gdb/testsuite/gdb.base/varargs.c:
No such file or directory.
$1 = void
$2 = 0 + 0i
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list