diff options
author | Jim Ingham <jingham@apple.com> | 2012-10-16 00:09:33 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-10-16 00:09:33 +0000 |
commit | 5d88a068eed8625b9668db9f6b254ae5d2a0e187 (patch) | |
tree | 107a171d4e7d5594649bcd7db199c77446dbbe87 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | 244beb42cee42a2ba367772d2d2a8bb04c98991f (diff) | |
download | bcm5719-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/gdb-remote/ThreadGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index b63b42d1ab0..36fa418cf2b 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -225,6 +225,9 @@ ThreadGDBRemote::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 GetGDBProcess().SetThreadStopInfo() doesn't find a stop reason // for this thread, then m_actual_stop_info_sp will not ever contain // a valid stop reason and the "m_actual_stop_info_sp->IsValid() == false" |