(Sending again without huge phabricator attachment...) First pass at cleaning up the POSIX registercontext stuff.
Future changes: - We should be able to get rid of the RegisterContextPOSIX stuff for core files (which don't need hardware breakpoints, etc.) - 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. Thanks. -Mike (Also, thanks to Greg for suggestions and initial review...) ---------- Forwarded message ---------- From: Michael Sartain <[email protected]> Date: Wed, Sep 11, 2013 at 2:58 PM Subject: [PATCH] Cleanup POSIX RegisterContext class hierarchies. To: [email protected] http://llvm-reviews.chandlerc.com/D1651 Files: source/Plugins/Process/POSIX/CMakeLists.txt source/Plugins/Process/POSIX/POSIXThread.cpp source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.h source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.h source/Plugins/Process/POSIX/RegisterContextPOSIX.h source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_i386.cpp source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_i386.h source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86_64.cpp source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86_64.h source/Plugins/Process/POSIX/RegisterContextPOSIX_i386.cpp source/Plugins/Process/POSIX/RegisterContextPOSIX_i386.h source/Plugins/Process/POSIX/RegisterContextPOSIX_x86_64.cpp source/Plugins/Process/POSIX/RegisterContextPOSIX_x86_64.h source/Plugins/Process/POSIX/RegisterContext_i386.cpp source/Plugins/Process/POSIX/RegisterContext_i386.h source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp source/Plugins/Process/POSIX/RegisterContext_x86_64.h source/Plugins/Process/elf-core/CMakeLists.txt source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.cpp source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.h source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.cpp source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.h source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h source/Plugins/Process/elf-core/ThreadElfCore.cpp
_______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
