diff options
| author | Pavel Labath <labath@google.com> | 2017-02-27 13:00:50 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-02-27 13:00:50 +0000 |
| commit | 4b2b6bfb97ee5062142a4efe0aabef408fd2a6bc (patch) | |
| tree | 115459246850d1480eef1a4291e4e09d6967f6ad /lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp | |
| parent | c9fbd9a3be32ef2f2eb4bfb92c7e57560b8e8417 (diff) | |
| download | bcm5719-llvm-4b2b6bfb97ee5062142a4efe0aabef408fd2a6bc.tar.gz bcm5719-llvm-4b2b6bfb97ee5062142a4efe0aabef408fd2a6bc.zip | |
Merge Linux and FreeBSD arm register contexts
Summary:
These two register contexts were identical, so this shouldn't cause any
regressions, but I'd appreciate it if you can check that this at least compiles.
Reviewers: emaste, sas
Subscribers: aemerson, rengolin, lldb-commits, mgorny
Differential Revision: https://reviews.llvm.org/D27126
llvm-svn: 296335
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp index f39abdd3248..0cf9a65324e 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp @@ -18,7 +18,7 @@ #include "Plugins/Process/Linux/Procfs.h" #include "Plugins/Process/POSIX/ProcessPOSIXLog.h" -#include "Plugins/Process/Utility/RegisterContextLinux_arm.h" +#include "Plugins/Process/Utility/RegisterInfoPOSIX_arm.h" #include <elf.h> #include <sys/socket.h> @@ -109,7 +109,7 @@ NativeRegisterContextLinux_arm::NativeRegisterContextLinux_arm( const ArchSpec &target_arch, NativeThreadProtocol &native_thread, uint32_t concrete_frame_idx) : NativeRegisterContextLinux(native_thread, concrete_frame_idx, - new RegisterContextLinux_arm(target_arch)) { + new RegisterInfoPOSIX_arm(target_arch)) { switch (target_arch.GetMachine()) { case llvm::Triple::arm: m_reg_info.num_registers = k_num_registers_arm; |

