diff options
author | Jim Ingham <jingham@apple.com> | 2012-09-14 02:14:15 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-09-14 02:14:15 +0000 |
commit | cb640dd8a0318b172c62859b45631353edad2811 (patch) | |
tree | a1b6a82d0c88dd90daa411787c91980c690e8f1b /lldb/source/API/SBThread.cpp | |
parent | 00755e955469079e0a078bd5ce81e374ee419933 (diff) | |
download | bcm5719-llvm-cb640dd8a0318b172c62859b45631353edad2811.tar.gz bcm5719-llvm-cb640dd8a0318b172c62859b45631353edad2811.zip |
Make the unwinding of the stack part of "thread return" work, and add the thread return command.
llvm-svn: 163867
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r-- | lldb/source/API/SBThread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp index 74df380e357..223568a74f1 100644 --- a/lldb/source/API/SBThread.cpp +++ b/lldb/source/API/SBThread.cpp @@ -878,7 +878,7 @@ SBThread::StepOverUntil (lldb::SBFrame &sb_frame, } SBError -SBThread::ReturnToFrame (SBFrame &frame, SBValue &return_value) +SBThread::ReturnFromFrame (SBFrame &frame, SBValue &return_value) { SBError sb_error; @@ -889,12 +889,12 @@ SBThread::ReturnToFrame (SBFrame &frame, SBValue &return_value) if (log) - log->Printf ("SBThread(%p)::ReturnToFrame (frame=%d)", exe_ctx.GetThreadPtr(), frame.GetFrameID()); + log->Printf ("SBThread(%p)::ReturnFromFrame (frame=%d)", exe_ctx.GetThreadPtr(), frame.GetFrameID()); if (exe_ctx.HasThreadScope()) { Thread *thread = exe_ctx.GetThreadPtr(); - sb_error.SetError (thread->ReturnToFrame(frame.GetFrameSP(), return_value.GetSP())); + sb_error.SetError (thread->ReturnFromFrame(frame.GetFrameSP(), return_value.GetSP())); } return sb_error; |