------- Additional Comments From wilson at gcc dot gnu dot org 2005-04-28 23:58 ------- Created an attachment (id=8760) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8760&action=view) Emit DW_AT_call_file and DW_AT_CALL_line for inlined subroutines.
This emits extra debug info that describes where an inlined subroutine was called from. This extra info would allow one to construct backtraces that contain info about inlined subroutines. This has been tested with an x86-linux bootstrap, make check, and gdb make check. There were no regressions. I haven't checked in the patch yet as I have no proof that it does anything useful, since neither binutils nor gdb handle this new debug info. I'm waiting for patches from Fred that will make use of this new info. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20967