[Lldb-commits] [PATCH] Register Number in DWARFCallFrameInfo.cpp

Tong Shen endlessroad at google.com
Tue Aug 12 13:36:53 PDT 2014


Aha, got it.
Patch confirmed and attached.


On Tue, Aug 12, 2014 at 12:51 PM, Ed Maste <emaste at freebsd.org> wrote:

> On 12 August 2014 15:43, Todd Fiala <tfiala at google.com> wrote:
> >
> > Hey Tong,
> >
> > Ah interesting.  The register infos in lldb have a vector of different
> register numbers (I think we call them "register kinds") based on the type
> of encoding you're using.  Let's have a look at that to see if we can
> adjust the code to query for the right register kind.  We'll look at this
> today!
>
> There was a thread on this topic on this list a while back, and I
> think the two register sets in question here are DWARF and GCC, which
> are identical in all cases except that i386 swaps esp and ebp between
> the two.  This is all the legacy of an ancient GCC bug.  So I think
> you're right Todd, just picking the other set should solve this.
>



-- 
Best Regards, Tong Shen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140812/16c2bb4e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_register_kind.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140812/16c2bb4e/attachment.bin>


More information about the lldb-commits mailing list