Add the ability to capture the return value in a thread's stop info, and print it
authorJim Ingham <jingham@apple.com>
Sat, 17 Dec 2011 01:35:57 +0000 (01:35 +0000)
committerJim Ingham <jingham@apple.com>
Sat, 17 Dec 2011 01:35:57 +0000 (01:35 +0000)
commit73ca05a2a0c6ce957f9679e76b35ee06dc1559d4
tree20b0f08ba2a6812f994fdea521bf436ea25453ce
parent903231bc58b27bbd1b74622b013fa277ceaeb16f
Add the ability to capture the return value in a thread's stop info, and print it
as part of the thread format output.
Currently this is only done for the ThreadPlanStepOut.
Add a convenience API ABI::GetReturnValueObject.
Change the ValueObject::EvaluationPoint to BE an ExecutionContextScope, rather than
trying to hand out one of its subsidiary object's pointers.  That way this will always
be good.

llvm-svn: 146806
22 files changed:
lldb/include/lldb/API/SBThread.h
lldb/include/lldb/Core/ValueObject.h
lldb/include/lldb/Core/ValueObjectConstResult.h
lldb/include/lldb/Target/ABI.h
lldb/include/lldb/Target/StopInfo.h
lldb/include/lldb/Target/Thread.h
lldb/include/lldb/Target/ThreadPlan.h
lldb/include/lldb/Target/ThreadPlanStepOut.h
lldb/scripts/Python/interface/SBThread.i
lldb/source/API/SBThread.cpp
lldb/source/API/SBValue.cpp
lldb/source/Commands/CommandObjectThread.cpp
lldb/source/Core/Debugger.cpp
lldb/source/Core/ValueObject.cpp
lldb/source/Core/ValueObjectConstResult.cpp
lldb/source/Core/ValueObjectConstResultImpl.cpp
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
lldb/source/Target/ABI.cpp
lldb/source/Target/StopInfo.cpp
lldb/source/Target/Thread.cpp
lldb/source/Target/ThreadPlanStepOut.cpp
lldb/www/formats.html