This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]