This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: RFC: DW_OP_call_frame_cfa, again


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

Daniel> Am I correct that this works only if all unwinders for this
Daniel> architecture use the same CFA notion that DWARF-2 would?  If so -
Daniel> probably already a requirement - it deserves a comment.

It actually just checks, and if the frame was not unwound using the
DWARF unwinder, it gives an error.  So, if the architecture has multiple
unwinders, and a non-DWARF one makes the frame, then you can't print
locals there.

We could expand this check if other unwinders compute "compatible" frame
bases somehow.

Daniel> With GCC 4.5 the DWARF unwinder ought to work fine for epilogues on
Daniel> specific platforms, not all.

Thanks.

Tom


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