summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-11-08 20:36:40 +0000
committerJim Ingham <jingham@apple.com>2016-11-08 20:36:40 +0000
commit6a9767c7e6983c3211e35757899fb83afb2eb807 (patch)
treed3d4fc44de0827c79099978569ee676feb81c604 /lldb/scripts
parentedc183e4375ab9b5be5487035327ca14ab7c322b (diff)
downloadbcm5719-llvm-6a9767c7e6983c3211e35757899fb83afb2eb807.tar.gz
bcm5719-llvm-6a9767c7e6983c3211e35757899fb83afb2eb807.zip
Clean up the stop printing header lines.
I added a "thread-stop-format" to distinguish between the form that is just the thread info (since the stop printing immediately prints the frame info) and one with more frame 0 info - which is useful for "thread list" and the like. I also added a frame.no-debug boolean to the format entities so you can print frame information differently between frames with source info and those without. This closes https://reviews.llvm.org/D26383. <rdar://problem/28273697> llvm-svn: 286288
Diffstat (limited to 'lldb/scripts')
-rw-r--r--lldb/scripts/interface/SBThread.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBThread.i b/lldb/scripts/interface/SBThread.i
index f8a59f3cd8a..9aacb4374dc 100644
--- a/lldb/scripts/interface/SBThread.i
+++ b/lldb/scripts/interface/SBThread.i
@@ -323,6 +323,15 @@ public:
bool
GetDescription (lldb::SBStream &description) const;
+ %feature("docstring", "
+ //--------------------------------------------------------------------------
+ /// Get the description strings for this thread that match what the
+ /// lldb driver will present, using the thread-format (stop_format==false)
+ /// or thread-stop-format (stop_format = true).
+ //--------------------------------------------------------------------------
+ ") GetDescription;
+ bool GetDescription(lldb::SBStream &description, bool stop_format) const;
+
bool
GetStatus (lldb::SBStream &status) const;
OpenPOWER on IntegriCloud