diff options
author | Omair Javaid <omair.javaid@linaro.org> | 2015-08-25 18:22:04 +0000 |
---|---|---|
committer | Omair Javaid <omair.javaid@linaro.org> | 2015-08-25 18:22:04 +0000 |
commit | 2441aecd1e00d03d1b43363ea1a98c3aac00f5cf (patch) | |
tree | d7460897802c5183bc6027fce69bbdfc6d82b360 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | |
parent | 74958d6071bf5f3288736d6644c53dd7d5200ab1 (diff) | |
download | bcm5719-llvm-2441aecd1e00d03d1b43363ea1a98c3aac00f5cf.tar.gz bcm5719-llvm-2441aecd1e00d03d1b43363ea1a98c3aac00f5cf.zip |
Adds support for hardware watchpoints on Arm targets.
http://reviews.llvm.org/D9703
This updated patches correct problems in arm hardware watchpoint support patch posted earlier.
This patch has been tested on samsung chromebook (ARM - Linux) and PandaBoard using basic watchpoint test application.
Also it was tested on Nexus 7 Android device.
On chromebook linux we are able to set and clear all types of watchpoints but on android we end up getting a watchpoint packet error because we are not able to call hardware watchpoint ptrace functions successfully.
llvm-svn: 245961
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp index bb57b3ee9f3..924c4beaf28 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp @@ -183,6 +183,8 @@ GDBRemoteCommunicationServerCommon::Handle_qHostInfo (StringExtractorGDBRemote & #else if (host_arch.GetMachine() == llvm::Triple::aarch64 || host_arch.GetMachine() == llvm::Triple::aarch64_be || + host_arch.GetMachine() == llvm::Triple::arm || + host_arch.GetMachine() == llvm::Triple::armeb || host_arch.GetMachine() == llvm::Triple::mips64 || host_arch.GetMachine() == llvm::Triple::mips64el) response.Printf("watchpoint_exceptions_received:before;"); |