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/Target/Process.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/Target/Process.cpp')
-rw-r--r-- | lldb/source/Target/Process.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index 077b9709924..3b37796f8d1 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -3741,7 +3741,7 @@ Process::ProcessEventData::DoOnRemoval (Event *event_ptr) } StopInfoSP stop_info_sp = thread_sp->GetStopInfo (); - if (stop_info_sp) + if (stop_info_sp && stop_info_sp->IsValid()) { stop_info_sp->PerformAction(event_ptr); // The stop action might restart the target. If it does, then we want to mark that in the @@ -4905,7 +4905,8 @@ Process::GetThreadStatus (Stream &strm, { if (only_threads_with_stop_reason) { - if (thread->GetStopInfo().get() == NULL) + StopInfoSP stop_info_sp = thread->GetStopInfo(); + if (stop_info_sp.get() == NULL || !stop_info_sp->IsValid()) continue; } thread->GetStatus (strm, |