<div dir="ltr">Hi,<div><br></div><div>In theĀ <span style="white-space:pre-wrap">qRegisterInfo packet (in the gdb remote protocol), I was wondering where does LLDB get the dcc/dwarf corresponding register numbers from.</span></div>
<div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">While looking at the gcc source file for the register numbers:</span></div><div><span style="white-space:pre-wrap"><a href="https://raw2.github.com/mirrors/gcc/master/gcc/config/i386/i386.c">https://raw2.github.com/mirrors/gcc/master/gcc/config/i386/i386.c</a></span><br>
</div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">I saw a discrepancy between lldb numbering and gcc in 32bit. In:</span></div><div><span style="white-space:pre-wrap"><a href="http://llvm.org/svn/llvm-project/lldb/trunk/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp">http://llvm.org/svn/llvm-project/lldb/trunk/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp</a></span><br>
</div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">The ymm registers are mapped to the xmm registers:</span><br></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
dwarf_ymm0 = dwarf_xmm0</pre></div><div><font color="#000000"><span style="white-space:pre-wrap">And I can't find a similar mapping in the i386.c posted above (in theĀ </span></font><span style="color:rgb(0,0,0)">svr4_dbx_register_map which is used to describe the dwarf numbering).</span><span style="white-space:pre-wrap;color:rgb(0,0,0)"> </span></div>
<div><div><br></div>-- <br><div dir="ltr">Benjamin.</div>
</div></div>