summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-10-18 21:47:31 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-10-18 21:47:31 +0000
commit64b7d95568607eac5336428a22e02f27b8663a79 (patch)
tree988d30ed3abc3917cbcbe41a9c76281da2bd8f89
parente695f4c851c397d352afa6a9fcd509e68467037d (diff)
downloadbcm5719-llvm-64b7d95568607eac5336428a22e02f27b8663a79.tar.gz
bcm5719-llvm-64b7d95568607eac5336428a22e02f27b8663a79.zip
[Reproducer] Improve reproducer help (NFC)
Provide a little more detail for the reproducer command. llvm-svn: 375292
-rw-r--r--lldb/source/Commands/CommandObjectReproducer.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectReproducer.cpp b/lldb/source/Commands/CommandObjectReproducer.cpp
index 72afed90264..dc4579c20fc 100644
--- a/lldb/source/Commands/CommandObjectReproducer.cpp
+++ b/lldb/source/Commands/CommandObjectReproducer.cpp
@@ -161,7 +161,9 @@ class CommandObjectReproducerDump : public CommandObjectParsed {
public:
CommandObjectReproducerDump(CommandInterpreter &interpreter)
: CommandObjectParsed(interpreter, "reproducer dump",
- "Dump the information contained in a reproducer.",
+ "Dump the information contained in a reproducer. "
+ "If no reproducer is specified during replay, it "
+ "dumps the content of the current reproducer.",
nullptr) {}
~CommandObjectReproducerDump() override = default;
@@ -361,7 +363,15 @@ CommandObjectReproducer::CommandObjectReproducer(
CommandInterpreter &interpreter)
: CommandObjectMultiword(
interpreter, "reproducer",
- "Commands for manipulate the reproducer functionality.",
+ "Commands for manipulating reproducers. Reproducers make it possible "
+ "to capture full debug sessions with all its dependencies. The "
+ "resulting reproducer is used to replay the debug session while "
+ "debugging the debugger.\n"
+ "Because reproducers need the whole the debug session from "
+ "beginning to end, you need to launch the debugger in capture or "
+ "replay mode, commonly though the command line driver.\n"
+ "Reproducers are unrelated record-replay debugging, as you cannot "
+ "interact with the debugger during replay.\n",
"reproducer <subcommand> [<subcommand-options>]") {
LoadSubCommand(
"generate",
OpenPOWER on IntegriCloud