From 73ca05a2a0c6ce957f9679e76b35ee06dc1559d4 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Sat, 17 Dec 2011 01:35:57 +0000 Subject: 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 --- lldb/scripts/Python/interface/SBThread.i | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/scripts/Python') diff --git a/lldb/scripts/Python/interface/SBThread.i b/lldb/scripts/Python/interface/SBThread.i index 67170908954..413d16c1f3f 100644 --- a/lldb/scripts/Python/interface/SBThread.i +++ b/lldb/scripts/Python/interface/SBThread.i @@ -82,6 +82,9 @@ public: size_t GetStopDescription (char *dst, size_t dst_len); + SBValue + GetStopReturnValue (); + lldb::tid_t GetThreadID () const; -- cgit v1.2.3