aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2019-05-02 02:14:08 +0000
committerJim Ingham <jingham@apple.com>2019-05-02 02:14:08 +0000
commite91ad7d290ed655aeb53883f64181cdefc7fa757 (patch)
tree64cfa22a243898ea2d7307a0ab231a7233d21df9 /lldb/source/Commands/CommandObjectThread.cpp
parent84bed67a5cd344d16d9023f164fb240ba96d13a2 (diff)
downloadllvm-e91ad7d290ed655aeb53883f64181cdefc7fa757.zip
llvm-e91ad7d290ed655aeb53883f64181cdefc7fa757.tar.gz
llvm-e91ad7d290ed655aeb53883f64181cdefc7fa757.tar.bz2
Mention the thread-format & frame-format settings in help.
You can only find out about this useful customization by browsing the settings list output or the llvm.org web pages. Mention it in the help for thread list, thread backtrace & _regex_bt commands to make it more discoverable. llvm-svn: 359752
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index 00f52d5..519a286 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -317,7 +317,10 @@ public:
"indexes can be specified as arguments.\n"
"Use the thread-index \"all\" to see all threads.\n"
"Use the thread-index \"unique\" to see threads grouped by unique "
- "call stacks.",
+ "call stacks.\n"
+ "Use 'settings set frame-format' to customize the printing of "
+ "frames in the backtrace and 'settings set thread-format' to "
+ "customize the thread header.",
nullptr,
eCommandRequiresProcess | eCommandRequiresThread |
eCommandTryTargetAPILock | eCommandProcessMustBeLaunched |
@@ -1388,7 +1391,9 @@ public:
CommandObjectThreadList(CommandInterpreter &interpreter)
: CommandObjectParsed(
interpreter, "thread list",
- "Show a summary of each thread in the current target process.",
+ "Show a summary of each thread in the current target process. "
+ "Use 'settings set thread-format' to customize the individual "
+ "thread listings.",
"thread list",
eCommandRequiresProcess | eCommandTryTargetAPILock |
eCommandProcessMustBeLaunched | eCommandProcessMustBePaused) {}