summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
diff options
context:
space:
mode:
authorChaoren Lin <chaorenl@google.com>2015-02-03 01:51:47 +0000
committerChaoren Lin <chaorenl@google.com>2015-02-03 01:51:47 +0000
commit18fe6404f9bc379045f4bce801f1c7113cddc6a0 (patch)
treeefb591cfed07504ecae67514806e536c98cc8153 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
parent2fe1d0abc2434c359c3761910cebceb00a5743bf (diff)
downloadbcm5719-llvm-18fe6404f9bc379045f4bce801f1c7113cddc6a0.tar.gz
bcm5719-llvm-18fe6404f9bc379045f4bce801f1c7113cddc6a0.zip
Implement setting and clearing watchpoints.
llvm-svn: 227930
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
index 5ff30bd93a6..01eb37be808 100644
--- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
@@ -2316,7 +2316,7 @@ NativeProcessLinux::MonitorSIGTRAP(const siginfo_t *info, lldb::pid_t pid)
// Mark the thread as stopped at watchpoint.
// The address is at (lldb::addr_t)info->si_addr if we need it.
if (thread_sp)
- reinterpret_cast<NativeThreadLinux*> (thread_sp.get ())->SetStoppedBySignal (SIGTRAP);
+ reinterpret_cast<NativeThreadLinux*> (thread_sp.get ())->SetStoppedByWatchpoint ();
else
{
if (log)
OpenPOWER on IntegriCloud