diff options
author | Jim Ingham <jingham@apple.com> | 2012-11-26 23:52:18 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-11-26 23:52:18 +0000 |
commit | 8559a35508222875c5a413dd5ef5df82482bf74a (patch) | |
tree | ade6d1f6928db4710cdf15919ce0ff48dc659a4f /lldb/source/Target/Thread.cpp | |
parent | 110b73e0e530cbe9184a5218e35197d8f0b11825 (diff) | |
download | bcm5719-llvm-8559a35508222875c5a413dd5ef5df82482bf74a.tar.gz bcm5719-llvm-8559a35508222875c5a413dd5ef5df82482bf74a.zip |
The Function calling thread plan was replacing the stored stop info too soon, causing recursive entry into the
breakpoint StopInfo's PerformAction, which is bad. Reworked this so that it is now correct.
<rdar://problem/12501259>
llvm-svn: 168634
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 22da8af0db0..b595dc627a9 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -396,9 +396,15 @@ Thread::CheckpointThreadState (ThreadStateCheckpoint &saved_state) } bool -Thread::RestoreThreadStateFromCheckpoint (ThreadStateCheckpoint &saved_state) +Thread::RestoreRegisterStateFromCheckpoint (ThreadStateCheckpoint &saved_state) { RestoreSaveFrameZero(saved_state.register_backup); + return true; +} + +bool +Thread::RestoreThreadStateFromCheckpoint (ThreadStateCheckpoint &saved_state) +{ if (saved_state.stop_info_sp) saved_state.stop_info_sp->MakeStopInfoValid(); SetStopInfo(saved_state.stop_info_sp); |