aboutsummaryrefslogtreecommitdiff
path: root/source/Breakpoint
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-09-26 22:40:50 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-09-26 22:40:50 +0000
commit096c293f8d4171448908801d5a1a74b152af1430 (patch)
treed1cf89632fb239fc6b1ee36bd50e7b2fc0bad79e /source/Breakpoint
parentbe46d6d7efb6d3a39764a5796c79f68ea51560a0 (diff)
downloadlldb-096c293f8d4171448908801d5a1a74b152af1430.tar.gz
Add SB API class SBWatchpointLocation and some extra methods to the SBTarget class to
iterate on the available watchpoint locations and to perform watchpoint manipulations. I still need to export the SBWatchpointLocation class as well as the added watchpoint manipulation methods to the Python interface. And write test cases for them. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Breakpoint')
-rw-r--r--source/Breakpoint/WatchpointLocation.cpp1
-rw-r--r--source/Breakpoint/WatchpointLocationList.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/source/Breakpoint/WatchpointLocation.cpp b/source/Breakpoint/WatchpointLocation.cpp
index a0bbc037d..6b2785a22 100644
--- a/source/Breakpoint/WatchpointLocation.cpp
+++ b/source/Breakpoint/WatchpointLocation.cpp
@@ -20,6 +20,7 @@ using namespace lldb_private;
WatchpointLocation::WatchpointLocation (lldb::addr_t addr, size_t size, bool hardware) :
StoppointLocation (GetNextID(), addr, size, hardware),
+ m_target(NULL),
m_enabled(0),
m_is_hardware(hardware),
m_watch_read(0),
diff --git a/source/Breakpoint/WatchpointLocationList.cpp b/source/Breakpoint/WatchpointLocationList.cpp
index ac466fa4f..b2ff26663 100644
--- a/source/Breakpoint/WatchpointLocationList.cpp
+++ b/source/Breakpoint/WatchpointLocationList.cpp
@@ -14,7 +14,6 @@
// Project includes
#include "lldb/Breakpoint/WatchpointLocationList.h"
#include "lldb/Breakpoint/WatchpointLocation.h"
-#include "lldb/Target/Target.h"
using namespace lldb;
using namespace lldb_private;