[lldb-dev] GCC and dwarf equivalent register numbers in x86

Benjamin Kemper kemperbenny at gmail.com
Mon Jan 20 01:29:46 PST 2014


In the qRegisterInfo packet (in the gdb remote protocol), I was wondering
where does LLDB get the dcc/dwarf corresponding register numbers from.

While looking at the gcc source file for the register numbers:

I saw a discrepancy between lldb numbering and gcc in 32bit. In:

The ymm registers are mapped to the xmm registers:

dwarf_ymm0 = dwarf_xmm0

And I can't find a similar mapping in the i386.c posted above (in the
which is used to describe the dwarf numbering).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140120/b2d7f7f6/attachment.html>

More information about the lldb-dev mailing list