summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorOmair Javaid <omair.javaid@linaro.org>2016-06-27 11:18:23 +0000
committerOmair Javaid <omair.javaid@linaro.org>2016-06-27 11:18:23 +0000
commitc6dc90ef87fbf0789d31ff5f1114916747e05405 (patch)
treecd9db107cfd12a7eddfb3e70dbf730dbdfd31514 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parentb3a51bdcd7115b0e91ee250696b5eaf843927f1c (diff)
downloadbcm5719-llvm-c6dc90ef87fbf0789d31ff5f1114916747e05405.tar.gz
bcm5719-llvm-c6dc90ef87fbf0789d31ff5f1114916747e05405.zip
Allow unaligned byte/word selection watchpoints for arm- linux/android targets.
Differential revision: http://reviews.llvm.org/D21516 llvm-svn: 273863
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 13db5cef0ad..72d092a8397 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -2060,7 +2060,7 @@ ProcessGDBRemote::SetThreadStopInfo (lldb::tid_t tid,
WatchpointSP wp_sp;
ArchSpec::Core core = GetTarget().GetArchitecture().GetCore();
if ((core >= ArchSpec::kCore_mips_first && core <= ArchSpec::kCore_mips_last) ||
- (core >= ArchSpec::eCore_arm_arm64 && core <= ArchSpec::eCore_arm_aarch64))
+ (core >= ArchSpec::eCore_arm_generic && core <= ArchSpec::eCore_arm_aarch64))
wp_sp = GetTarget().GetWatchpointList().FindByAddress(wp_hit_addr);
if (!wp_sp)
wp_sp = GetTarget().GetWatchpointList().FindByAddress(wp_addr);
OpenPOWER on IntegriCloud