summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/MacOSX-Kernel
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-10-16 00:09:33 +0000
committerJim Ingham <jingham@apple.com>2012-10-16 00:09:33 +0000
commit5d88a068eed8625b9668db9f6b254ae5d2a0e187 (patch)
tree107a171d4e7d5594649bcd7db199c77446dbbe87 /lldb/source/Plugins/Process/MacOSX-Kernel
parent244beb42cee42a2ba367772d2d2a8bb04c98991f (diff)
downloadbcm5719-llvm-5d88a068eed8625b9668db9f6b254ae5d2a0e187.tar.gz
bcm5719-llvm-5d88a068eed8625b9668db9f6b254ae5d2a0e187.zip
Patch from Matt Kopec <matt.kopec@intel.com> to fix the problem that if two breakpoints were set on consecutive addresses, the continue from the
first breakpoint would skip the second. llvm-svn: 166000
Diffstat (limited to 'lldb/source/Plugins/Process/MacOSX-Kernel')
-rw-r--r--lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.cpp
index 567658d1983..3e42cf50d74 100644
--- a/lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.cpp
+++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.cpp
@@ -179,6 +179,9 @@ ThreadKDP::GetPrivateStopReason ()
if (m_thread_stop_reason_stop_id != process_stop_id ||
(m_actual_stop_info_sp && !m_actual_stop_info_sp->IsValid()))
{
+ if (IsStillAtLastBreakpointHit())
+ return m_actual_stop_info_sp;
+
if (m_cached_stop_info_sp)
SetStopInfo (m_cached_stop_info_sp);
else
OpenPOWER on IntegriCloud