This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: DW_OP_call_frame_cfa, again
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 01 Sep 2009 17:51:22 -0600
- Subject: Re: RFC: DW_OP_call_frame_cfa, again
- References: <20090901225003.GA28876@caradoc.them.org>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "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