<div dir="ltr"><div>All code (at the moment) between RegisterContextPOSIX_i386 and RegisterContextPOSIX_x86_64 is now shared and uses just register offsets, so this checkin merges the two into a single RegisterContextPOSIX_x86. This should (hopefully) help Ed get the 32-bit version of FreeBSD lldb a bit further along as well.</div>

<div><br></div><div>I've run this through the 64-bit and -A i386 linux test suite.</div><div><br></div><div>Let me know if this looks ok. Thanks.</div><div> -Mike</div><div><br></div><div>---------- Forwarded message ----------<br>

</div><div class="gmail_quote">From: <b class="gmail_sendername">Michael Sartain</b> <span dir="ltr"><<a href="mailto:mikesart@gmail.com">mikesart@gmail.com</a>></span><br>Date: Wed, Oct 9, 2013 at 2:57 PM<br>Subject: [PATCH] Merge RegisterContextPOSIX_x86_64 and RegisterContextPOSIX_i386 into RegisterContextPOSIX_x86<br>

To: <a href="mailto:mikesart@gmail.com">mikesart@gmail.com</a><br><br><br><a href="http://llvm-reviews.chandlerc.com/D1880" target="_blank">http://llvm-reviews.chandlerc.com/D1880</a><br>
<br>
Files:<br>
  source/Plugins/Process/POSIX/CMakeLists.txt<br>
  source/Plugins/Process/POSIX/POSIXThread.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_i386.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_i386.h<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.h<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86_64.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86_64.h<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIX_i386.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIX_i386.h<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIX_x86_64.cpp<br>
  source/Plugins/Process/POSIX/RegisterContextPOSIX_x86_64.h<br>
  source/Plugins/Process/POSIX/RegisterInfos_i386.h<br>
  source/Plugins/Process/POSIX/RegisterInfos_x86_64.h<br>
  source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp<br>
  source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h<br>
  source/Symbol/UnwindTable.cpp<br>
</div><br></div>