This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Adding call_line/call_file DWARF information
- From: Daniel Towner <daniel dot towner at picochip dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 18 Nov 2004 11:40:01 +0000
- Subject: Adding call_line/call_file DWARF information
Hi all,
I am writing a symbolic debugger, and would like to be able to determine
the location from which an inlined function was originally called (i.e.,
the DWARF DW_AT_call_line, DW_AT_call_file attributes). This isn't
currently generated by gcc so I have been looking at how I might go
about adding it. It would have to be handled in the
gen_inlined_subroutine_die in dwarf2out.c. Could someone give me a clue
as to how I can go about finding the original position from which the
inlined subroutine was called? Is this information available in the trees?
thanks,
dan.
============================================================================
Daniel Towner
picoChip Designs Ltd., Riverside Buildings, 108, Walcot Street, BATH,
BA1 5BG
daniel.towner@picochip.com
07786 702589