Issues with dwarf APIs
Roland McGrath
roland@redhat.com
Wed Jun 3 21:21:00 GMT 2009
> Regarding the PC, this is definitely not the entry address of the
> function but the return location from the called function, hence it is
> between low_pc and high_pc. As I understand that is the right thing to
> do, giving low_pc or starting address of the function had issues with
> variable not getting initialized at that instance.
Yes, you have to use the correct exact PC that was stored for that stack frame.
The DWARF info describes how to find a symbolic value in the context of an
exact PC. For some PC elsewhere in the function, the details may differ hugely.
More information about the Systemtap
mailing list