[Bug debug/33861] Debugging info for C++ template parameters is incorrect
tromey at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 23 17:08:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33861
Tom Tromey <tromey at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu.org
--- Comment #3 from Tom Tromey <tromey at gcc dot gnu.org> 2011-05-23 16:33:45 UTC ---
We've been discussing this on gdb-patches recently.
Note that PR 30161 doesn't really help.
Currently we get:
> <2><51>: Abbrev Number: 5 (DW_TAG_template_value_param)
> <52> DW_AT_name : V
> <54> DW_AT_type : <0xaf>
> <58> DW_AT_location : 6 byte block: 3 0 0 0 0 9f (DW_OP_addr: 0; DW_OP_stack_value)
... but this requires that we be able to reliably map from address
to name, which is not in general possible.
More information about the Gcc-bugs
mailing list