<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">(Sending again without huge phabricator attachment...)</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">First pass at cleaning up the POSIX registercontext stuff.</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Future changes:</div><div style="font-family:arial,sans-serif;font-size:13px"> - We should be able to get rid of the RegisterContextPOSIX stuff for core files (which don't need hardware breakpoints, etc.)</div>
<div style="font-family:arial,sans-serif;font-size:13px"> - 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 style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks.</div><div style="font-family:arial,sans-serif;font-size:13px"> -Mike</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"> (Also, thanks to Greg for suggestions and initial review...)</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>