<div dir="ltr">First pass at cleaning up the POSIX registercontext stuff.<div><br></div><div>Future changes:</div><div> - We should be able to get rid of the RegisterContextPOSIX stuff for core files (which don't need hardware breakpoints, etc.)</div>
<div> - Fix up RegisterContextPOSIX_i386. I believe we can use it on all 32-bit targets regardless of debugger platform using PTRACE_GETREGSET / NT_PRSTATUS instead of PTRACE_GETREGS.</div><div><br></div><div>Thanks.</div>
<div> -Mike</div><div><br></div><div> (Also, thanks to Greg for suggestions and initial review...)<br></div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>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, Sep 11, 2013 at 2:58 PM<br>Subject: [PATCH] Cleanup POSIX RegisterContext class hierarchies.<br>To: <a href="mailto:mikesart@gmail.com">mikesart@gmail.com</a><br><br><br><a href="http://llvm-reviews.chandlerc.com/D1651" target="_blank">http://llvm-reviews.chandlerc.com/D1651</a><br>
<br>
Files:<br>
source/Plugins/Process/POSIX/CMakeLists.txt<br>
source/Plugins/Process/POSIX/POSIXThread.cpp<br>
source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp<br>
source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.h<br>
source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp<br>
source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.h<br>
source/Plugins/Process/POSIX/RegisterContextPOSIX.h<br>
source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_i386.cpp<br>
source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_i386.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_64.cpp<br>
source/Plugins/Process/POSIX/RegisterContextPOSIX_x86_64.h<br>
source/Plugins/Process/POSIX/RegisterContext_i386.cpp<br>
source/Plugins/Process/POSIX/RegisterContext_i386.h<br>
source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp<br>
source/Plugins/Process/POSIX/RegisterContext_x86_64.h<br>
source/Plugins/Process/elf-core/CMakeLists.txt<br>
source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.cpp<br>
source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.h<br>
source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.cpp<br>
source/Plugins/Process/elf-core/RegisterContextCoreLinux_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/Plugins/Process/elf-core/ThreadElfCore.cpp<br>
</div><br></div></div>