http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58663
Jan Kratochvil <jan.kratochvil at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
I forgot DW_TAG_GNU_call_site is only generated with -O.
Just in such case it is still not resolved but it is because the value is not
saved in the caller:
(gdb) p addr
Cannot find matching parameter at DW_TAG_GNU_call_site 0x4007c6 at main
$1 = <optimized out>
0: DW_OP_GNU_entry_value
2: DW_OP_reg5 [$rdi]
+
<2><600>: Abbrev Number: 10 (DW_TAG_GNU_call_site)
<601> DW_AT_low_pc : 0x4007c6
<609> DW_AT_abstract_origin: <0x65d>
[no parameters]