aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-27 18:13:32 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-27 18:13:32 +0000
commit3b67d57ae25fe2ee4dd45bd02db83ed3445c89c8 (patch)
tree2e1f14056b4573e5233d30ce81a4706dcaeadc7d
parent38b5503d21e94fd789edd92fce16958e785a92bc (diff)
downloadllvm-3b67d57ae25fe2ee4dd45bd02db83ed3445c89c8.zip
llvm-3b67d57ae25fe2ee4dd45bd02db83ed3445c89c8.tar.gz
llvm-3b67d57ae25fe2ee4dd45bd02db83ed3445c89c8.tar.bz2
Add cross reference to SBThread from the SBFrame docstring. Also add a simple iteration example.
llvm-svn: 136227
-rw-r--r--lldb/scripts/Python/interface/SBFrame.i8
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBFrame.i b/lldb/scripts/Python/interface/SBFrame.i
index bf33b6f..28526ab 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
{