This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: supporting DW_OP_{implicit,stack}_value


On Wed, 2009-07-22 at 15:57 -0700, Roland McGrath wrote:
> I've now done what you suggested, but further changed both
> dwarf_frame_{cfa,register} to return only 0/-1 and fill in *nops,
> so they match dwarf_getlocation.  
> 
> Note that dwarf_frame_cfa still returns only a DWARF expression, not a
> location description, i.e. it has no DW_OP_stack_value suffix (which would
> always be there for a location description for the CFA, which is never
> mutable).  This means you can actually just replace DW_OP_call_frame_cfa
> directly with this sequence of ops and it has exactly the right meaning.

Thanks, I have adjusted systemtap to take advantage of the new
interface.

Cheers,

Mark


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