diff options
author | Ed Maste <emaste@freebsd.org> | 2015-05-13 22:33:12 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2015-05-13 22:33:12 +0000 |
commit | a157bc853995d858195adb2ce0c5cbe559134268 (patch) | |
tree | 4b24287179463016627c823ee4f94f7e4d93018a /lldb/source/Plugins/Process/POSIX/POSIXThread.cpp | |
parent | a928d9550ca8d309466a5701c7cef87861dad6c0 (diff) | |
download | bcm5719-llvm-a157bc853995d858195adb2ce0c5cbe559134268.tar.gz bcm5719-llvm-a157bc853995d858195adb2ce0c5cbe559134268.zip |
Initial FreeBSD/arm live debugging support
Patch by Tom Rix, except using the RegisterContextFreeBSD_arm files
added in r235305 instead.
llvm-svn: 237303
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX/POSIXThread.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/POSIX/POSIXThread.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp index 6ae66831a6f..4bfa5d64f16 100644 --- a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp +++ b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp @@ -41,6 +41,7 @@ #include "Plugins/Process/Utility/RegisterContextLinux_arm64.h" #include "Plugins/Process/Utility/RegisterContextLinux_i386.h" #include "Plugins/Process/Utility/RegisterContextLinux_x86_64.h" +#include "Plugins/Process/Utility/RegisterContextFreeBSD_arm.h" #include "Plugins/Process/Utility/RegisterContextFreeBSD_i386.h" #include "Plugins/Process/Utility/RegisterContextFreeBSD_mips64.h" #include "Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.h" @@ -171,6 +172,9 @@ POSIXThread::GetRegisterContext() case llvm::Triple::FreeBSD: switch (target_arch.GetMachine()) { + case llvm::Triple::arm: + reg_interface = new RegisterContextFreeBSD_arm(target_arch); + break; case llvm::Triple::ppc: #ifndef __powerpc64__ reg_interface = new RegisterContextFreeBSD_powerpc32(target_arch); |