summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX/MachThreadList.h
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-05-23 21:09:52 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-05-23 21:09:52 +0000
commit64637205051bb9789436cc4546ac9d8507a0c9d0 (patch)
treea1be9ce810e598ca64e02609fa2e2ed666c6583b /lldb/tools/debugserver/source/MacOSX/MachThreadList.h
parentafc2edbedca7a0226aadee4d45480b44e2329733 (diff)
downloadbcm5719-llvm-64637205051bb9789436cc4546ac9d8507a0c9d0.tar.gz
bcm5719-llvm-64637205051bb9789436cc4546ac9d8507a0c9d0.zip
Add the capability to display the number of supported hardware watchpoints to the "watchpoint list" command.
Add default Process::GetWatchpointSupportInfo() impl which returns an error of "not supported". Add "qWatchpointSupportInfo" packet to the gdb communication layer to support this, and modify TestWatchpointCommands.py to test it. llvm-svn: 157345
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachThreadList.h')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachThreadList.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachThreadList.h b/lldb/tools/debugserver/source/MacOSX/MachThreadList.h
index b010a213619..52f9e749562 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachThreadList.h
+++ b/lldb/tools/debugserver/source/MacOSX/MachThreadList.h
@@ -50,6 +50,8 @@ public:
bool DisableHardwareBreakpoint (const DNBBreakpoint *bp) const;
uint32_t EnableHardwareWatchpoint (const DNBBreakpoint *wp) const;
bool DisableHardwareWatchpoint (const DNBBreakpoint *wp) const;
+ uint32_t NumSupportedHardwareWatchpoints () const;
+
uint32_t GetThreadIndexForThreadStoppedWithSignal (const int signo) const;
MachThreadSP GetThreadByID (nub_thread_t tid) const;
OpenPOWER on IntegriCloud