summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBFrame.i
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 /lldb/scripts/Python/interface/SBFrame.i
parent38b5503d21e94fd789edd92fce16958e785a92bc (diff)
downloadbcm5719-llvm-3b67d57ae25fe2ee4dd45bd02db83ed3445c89c8.tar.gz
bcm5719-llvm-3b67d57ae25fe2ee4dd45bd02db83ed3445c89c8.zip
Add cross reference to SBThread from the SBFrame docstring. Also add a simple iteration example.
llvm-svn: 136227
Diffstat (limited to 'lldb/scripts/Python/interface/SBFrame.i')
-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 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
{
OpenPOWER on IntegriCloud