From 64637205051bb9789436cc4546ac9d8507a0c9d0 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Wed, 23 May 2012 21:09:52 +0000 Subject: 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 --- lldb/tools/debugserver/source/MacOSX/MachThread.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/tools/debugserver/source/MacOSX/MachThread.cpp') diff --git a/lldb/tools/debugserver/source/MacOSX/MachThread.cpp b/lldb/tools/debugserver/source/MacOSX/MachThread.cpp index 9a36bc7575f..aca47f9120f 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachThread.cpp +++ b/lldb/tools/debugserver/source/MacOSX/MachThread.cpp @@ -715,6 +715,12 @@ MachThread::DisableHardwareWatchpoint (const DNBBreakpoint *wp) return false; } +uint32_t +MachThread::NumSupportedHardwareWatchpoints () const +{ + return m_arch_ap->NumSupportedHardwareWatchpoints(); +} + bool MachThread::GetIdentifierInfo () { -- cgit v1.2.3