[Bug backtrace/33256] incorrect prototype in backtrace when using GCC's cleanup attribute (GCC 8)
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Wed Aug 6 16:37:16 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33256
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|UNCONFIRMED |RESOLVED
CC| |vries at gcc dot gnu.org
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
The debug info contains no info about x:
...
<1><5b3>: Abbrev Number: 16 (DW_TAG_subprogram)
<5b4> DW_AT_name : fct
<2><5d5>: Abbrev Number: 17 (DW_TAG_formal_parameter)
<5d6> DW_AT_name : y
<2><5e2>: Abbrev Number: 17 (DW_TAG_formal_parameter)
<5e3> DW_AT_name : z
<2><5ef>: Abbrev Number: 18 (DW_TAG_subprogram)
<5f0> DW_AT_name : log_cleanup
...
So yeah, it's a problem in the debug info, not gdb.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list