<div dir="ltr">Aha, got it.<div>Patch confirmed and attached.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 12, 2014 at 12:51 PM, Ed Maste <span dir="ltr"><<a href="mailto:emaste@freebsd.org" target="_blank">emaste@freebsd.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 12 August 2014 15:43, Todd Fiala <<a href="mailto:tfiala@google.com">tfiala@google.com</a>> wrote:<br>

><br>
> Hey Tong,<br>
><br>
> 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!<br>

<br>
</div>There was a thread on this topic on this list a while back, and I<br>
think the two register sets in question here are DWARF and GCC, which<br>
are identical in all cases except that i386 swaps esp and ebp between<br>
the two.  This is all the legacy of an ancient GCC bug.  So I think<br>
you're right Todd, just picking the other set should solve this.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Best Regards, Tong Shen</div>
</div>