This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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]

Re: Issues with dwarf APIs


>     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.


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