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

Ed Maste emaste at freebsd.org
Tue Aug 12 12:51:10 PDT 2014


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.




More information about the lldb-commits mailing list