summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-12-17 01:35:57 +0000
committerJim Ingham <jingham@apple.com>2011-12-17 01:35:57 +0000
commit73ca05a2a0c6ce957f9679e76b35ee06dc1559d4 (patch)
tree20b0f08ba2a6812f994fdea521bf436ea25453ce /lldb/scripts/Python
parent903231bc58b27bbd1b74622b013fa277ceaeb16f (diff)
downloadbcm5719-llvm-73ca05a2a0c6ce957f9679e76b35ee06dc1559d4.tar.gz
bcm5719-llvm-73ca05a2a0c6ce957f9679e76b35ee06dc1559d4.zip
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
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/interface/SBThread.i3
1 files changed, 3 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud