From 3b67d57ae25fe2ee4dd45bd02db83ed3445c89c8 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Wed, 27 Jul 2011 18:13:32 +0000 Subject: Add cross reference to SBThread from the SBFrame docstring. Also add a simple iteration example. llvm-svn: 136227 --- lldb/scripts/Python/interface/SBFrame.i | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBFrame.i b/lldb/scripts/Python/interface/SBFrame.i index bf33b6fe31a..28526ab7478 100644 --- a/lldb/scripts/Python/interface/SBFrame.i +++ b/lldb/scripts/Python/interface/SBFrame.i @@ -37,7 +37,13 @@ def print_stacktrace(thread, string_buffer = False): args=get_args_as_string(frame, showFuncName=False) if not frame.IsInlined() else '()') ... -" + +And, + + for frame in thread: + print frame + +See also SBThread." ) SBFrame; class SBFrame { -- cgit v1.2.3