[lldb-dev] [Patch for Review] Merge RegisterContextPOSIX_x86_64 and RegisterContextPOSIX_i386 into RegisterContextPOSIX_x86

Greg Clayton gclayton at apple.com
Wed Oct 9 17:32:50 PDT 2013


I will let the linux and FreeBSD folks chime in on this one. Looks good as far as I can tell.

On Oct 9, 2013, at 3:17 PM, Michael Sartain <mikesart at gmail.com> wrote:

> 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.
> 
> I've run this through the 64-bit and -A i386 linux test suite.
> 
> Let me know if this looks ok. Thanks.
>  -Mike
> 
> ---------- Forwarded message ----------
> From: Michael Sartain <mikesart at gmail.com>
> Date: Wed, Oct 9, 2013 at 2:57 PM
> Subject: [PATCH] Merge RegisterContextPOSIX_x86_64 and RegisterContextPOSIX_i386 into RegisterContextPOSIX_x86
> To: mikesart at gmail.com
> 
> 
> http://llvm-reviews.chandlerc.com/D1880
> 
> Files:
>   source/Plugins/Process/POSIX/CMakeLists.txt
>   source/Plugins/Process/POSIX/POSIXThread.cpp
>   source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp
>   source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp
>   source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp
>   source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp
>   source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_i386.cpp
>   source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_i386.h
>   source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp
>   source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.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.cpp
>   source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h
>   source/Plugins/Process/POSIX/RegisterContextPOSIX_x86_64.cpp
>   source/Plugins/Process/POSIX/RegisterContextPOSIX_x86_64.h
>   source/Plugins/Process/POSIX/RegisterInfos_i386.h
>   source/Plugins/Process/POSIX/RegisterInfos_x86_64.h
>   source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp
>   source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h
>   source/Symbol/UnwindTable.cpp
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list