Clean up, clarify and standardize help text, and fix a few help text formatting problems.
llvm-svn: 113408
This commit is contained in:
@@ -771,7 +771,7 @@ CommandObjectBreakpointList::Execute
|
|||||||
|
|
||||||
CommandObjectBreakpointEnable::CommandObjectBreakpointEnable () :
|
CommandObjectBreakpointEnable::CommandObjectBreakpointEnable () :
|
||||||
CommandObject ("enable",
|
CommandObject ("enable",
|
||||||
"Enables the specified disabled breakpoint(s). If no breakpoints are specified, enables all of them.",
|
"Enable the specified disabled breakpoint(s). If no breakpoints are specified, enable all of them.",
|
||||||
"breakpoint enable [<breakpoint-id> | <breakpoint-id-list>]")
|
"breakpoint enable [<breakpoint-id> | <breakpoint-id-list>]")
|
||||||
{
|
{
|
||||||
// This command object can either be called via 'enable' or 'breakpoint enable'. Because it has two different
|
// This command object can either be called via 'enable' or 'breakpoint enable'. Because it has two different
|
||||||
@@ -873,7 +873,7 @@ CommandObjectBreakpointEnable::Execute
|
|||||||
|
|
||||||
CommandObjectBreakpointDisable::CommandObjectBreakpointDisable () :
|
CommandObjectBreakpointDisable::CommandObjectBreakpointDisable () :
|
||||||
CommandObject ("disable",
|
CommandObject ("disable",
|
||||||
"Disables the specified breakpoint(s) without removing it/them. If no breakpoints are specified, disables them all.",
|
"Disable the specified breakpoint(s) without removing it/them. If no breakpoints are specified, disable them all.",
|
||||||
"disable [<breakpoint-id> | <breakpoint-id-list>]")
|
"disable [<breakpoint-id> | <breakpoint-id-list>]")
|
||||||
{
|
{
|
||||||
// This command object can either be called via 'enable' or 'breakpoint enable'. Because it has two different
|
// This command object can either be called via 'enable' or 'breakpoint enable'. Because it has two different
|
||||||
@@ -973,7 +973,7 @@ CommandObjectBreakpointDisable::Execute
|
|||||||
|
|
||||||
CommandObjectBreakpointDelete::CommandObjectBreakpointDelete() :
|
CommandObjectBreakpointDelete::CommandObjectBreakpointDelete() :
|
||||||
CommandObject ("breakpoint delete",
|
CommandObject ("breakpoint delete",
|
||||||
"Delete the specified breakpoint(s). If no breakpoints are specified, deletes them all.",
|
"Delete the specified breakpoint(s). If no breakpoints are specified, delete them all.",
|
||||||
"breakpoint delete [<breakpoint-id> | <breakpoint-id-list>]")
|
"breakpoint delete [<breakpoint-id> | <breakpoint-id-list>]")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -1208,7 +1208,7 @@ CommandObjectBreakpointModify::CommandOptions::ResetOptionValues ()
|
|||||||
#pragma mark Modify
|
#pragma mark Modify
|
||||||
|
|
||||||
CommandObjectBreakpointModify::CommandObjectBreakpointModify () :
|
CommandObjectBreakpointModify::CommandObjectBreakpointModify () :
|
||||||
CommandObject ("breakpoint modify", "Modifys the options on a breakpoint or set of breakpoints in the executable.",
|
CommandObject ("breakpoint modify", "Modify the options on a breakpoint or set of breakpoints in the executable.",
|
||||||
"breakpoint modify <cmd-options> break-id [break-id ...]")
|
"breakpoint modify <cmd-options> break-id [break-id ...]")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ CommandObjectBreakpointCommandAdd::CommandOptions::g_option_table[] =
|
|||||||
"Write the breakpoint command script in the Python scripting language."},
|
"Write the breakpoint command script in the Python scripting language."},
|
||||||
|
|
||||||
{ LLDB_OPT_SET_3, true, "commands", 'c', no_argument, NULL, 0, NULL,
|
{ LLDB_OPT_SET_3, true, "commands", 'c', no_argument, NULL, 0, NULL,
|
||||||
"Write the breakpoint command script using the command line commands."},
|
"Write the breakpoint command script using standard debugger commands."},
|
||||||
|
|
||||||
{ 0, false, NULL, 0, 0, NULL, 0, NULL, NULL }
|
{ 0, false, NULL, 0, 0, NULL, 0, NULL, NULL }
|
||||||
};
|
};
|
||||||
@@ -112,7 +112,7 @@ CommandObjectBreakpointCommandAdd::CommandOptions::ResetOptionValues ()
|
|||||||
|
|
||||||
CommandObjectBreakpointCommandAdd::CommandObjectBreakpointCommandAdd () :
|
CommandObjectBreakpointCommandAdd::CommandObjectBreakpointCommandAdd () :
|
||||||
CommandObject ("add",
|
CommandObject ("add",
|
||||||
"Adds a set of commands to a breakpoint to be executed whenever a breakpoint is hit.",
|
"Add a set of commands to a breakpoint, to be executed whenever the breakpoint is hit.",
|
||||||
"breakpoint command add <cmd-options> <breakpoint-id>")
|
"breakpoint command add <cmd-options> <breakpoint-id>")
|
||||||
{
|
{
|
||||||
SetHelpLong (
|
SetHelpLong (
|
||||||
@@ -193,8 +193,8 @@ initialized: \n\
|
|||||||
\n\
|
\n\
|
||||||
(lldb) \n\
|
(lldb) \n\
|
||||||
\n\
|
\n\
|
||||||
Special information debugger command breakpoint commands \n\
|
Special information about debugger command breakpoint commands \n\
|
||||||
--------------------------------------------------------- \n\
|
-------------------------------------------------------------- \n\
|
||||||
\n\
|
\n\
|
||||||
You may enter any debugger command, exactly as you would at the \n\
|
You may enter any debugger command, exactly as you would at the \n\
|
||||||
debugger prompt. You may enter as many debugger commands as you like, \n\
|
debugger prompt. You may enter as many debugger commands as you like, \n\
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class CommandObjectCommandsSource : public CommandObject
|
|||||||
public:
|
public:
|
||||||
CommandObjectCommandsSource() :
|
CommandObjectCommandsSource() :
|
||||||
CommandObject ("commands source",
|
CommandObject ("commands source",
|
||||||
"Reads in debugger commands from the file <filename> and executes them.",
|
"Read in debugger commands from the file <filename> and execute them.",
|
||||||
"command source <filename>")
|
"command source <filename>")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -139,7 +139,7 @@ class CommandObjectCommandsAlias : public CommandObject
|
|||||||
public:
|
public:
|
||||||
CommandObjectCommandsAlias () :
|
CommandObjectCommandsAlias () :
|
||||||
CommandObject ("commands alias",
|
CommandObject ("commands alias",
|
||||||
"Allows users to define their own debugger command abbreviations.",
|
"Allow users to define their own debugger command abbreviations.",
|
||||||
"commands alias <new_command> <old_command> [<options-for-aliased-command>]")
|
"commands alias <new_command> <old_command> [<options-for-aliased-command>]")
|
||||||
{
|
{
|
||||||
SetHelpLong(
|
SetHelpLong(
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectFrameInfo () :
|
CommandObjectFrameInfo () :
|
||||||
CommandObject ("frame info",
|
CommandObject ("frame info",
|
||||||
"Lists information about the currently selected frame in the current thread.",
|
"List information about the currently selected frame in the current thread.",
|
||||||
"frame info",
|
"frame info",
|
||||||
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
||||||
{
|
{
|
||||||
@@ -96,7 +96,8 @@ public:
|
|||||||
|
|
||||||
CommandObjectFrameSelect () :
|
CommandObjectFrameSelect () :
|
||||||
CommandObject ("frame select",
|
CommandObject ("frame select",
|
||||||
"Select the current frame by index in the current thread.",
|
//"Select the current frame by index in the current thread.",
|
||||||
|
"Select a frame by index from within the current thread and make it the current frame.",
|
||||||
"frame select <frame-index>",
|
"frame select <frame-index>",
|
||||||
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
||||||
{
|
{
|
||||||
@@ -362,12 +363,13 @@ public:
|
|||||||
}
|
}
|
||||||
if (addr == LLDB_INVALID_ADDRESS)
|
if (addr == LLDB_INVALID_ADDRESS)
|
||||||
{
|
{
|
||||||
result.GetErrorStream().Printf ("error: %s is not loaded", var_sc.module_sp->GetFileSpec().GetFilename().AsCString());
|
result.GetErrorStream().Printf ("error: %s is not loaded\n",
|
||||||
|
var_sc.module_sp->GetFileSpec().GetFilename().AsCString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
result.GetErrorStream().Printf ("error: unable to resolve the variable address 0x%llx", file_addr);
|
result.GetErrorStream().Printf ("error: unable to resolve the variable address 0x%llx\n", file_addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ CommandObjectHelp::Execute (CommandInterpreter &interpreter, Args& command, Comm
|
|||||||
const char *long_help = sub_cmd_obj->GetHelpLong();
|
const char *long_help = sub_cmd_obj->GetHelpLong();
|
||||||
if ((long_help != NULL)
|
if ((long_help != NULL)
|
||||||
&& (strlen (long_help) > 0))
|
&& (strlen (long_help) > 0))
|
||||||
interpreter.OutputFormattedHelpText (output_strm, "", "", sub_cmd_obj->GetHelpLong(), 1);
|
output_strm.Printf ("\n%s", long_help);
|
||||||
else
|
else
|
||||||
interpreter.OutputFormattedHelpText (output_strm, "", "", sub_cmd_obj->GetHelp(), 1);
|
interpreter.OutputFormattedHelpText (output_strm, "", "", sub_cmd_obj->GetHelp(), 1);
|
||||||
output_strm.Printf ("\nSyntax: %s\n", sub_cmd_obj->GetSyntax());
|
output_strm.Printf ("\nSyntax: %s\n", sub_cmd_obj->GetSyntax());
|
||||||
|
|||||||
@@ -887,7 +887,7 @@ public:
|
|||||||
CommandObjectImageDumpLineTable () :
|
CommandObjectImageDumpLineTable () :
|
||||||
CommandObjectImageDumpSourceFileList ("image dump line-table",
|
CommandObjectImageDumpSourceFileList ("image dump line-table",
|
||||||
"Dump the debug symbol file for one or more executable images.",
|
"Dump the debug symbol file for one or more executable images.",
|
||||||
"image dump line-table <file1> [<file2> ...]")
|
"image dump line-table <source-file1> [<source-file2> ...]")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -974,7 +974,7 @@ public:
|
|||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
CommandObjectImageDump(CommandInterpreter &interpreter) :
|
CommandObjectImageDump(CommandInterpreter &interpreter) :
|
||||||
CommandObjectMultiword ("image dump",
|
CommandObjectMultiword ("image dump",
|
||||||
"Dumps information in one or more executable images; 'line-table' expects a source file name",
|
"A set of commands for dumping information about one or more executable images; 'line-table' expects a source file name",
|
||||||
"image dump [symtab|sections|symfile|line-table] [<file1> <file2> ...]")
|
"image dump [symtab|sections|symfile|line-table] [<file1> <file2> ...]")
|
||||||
{
|
{
|
||||||
LoadSubCommand (interpreter, "symtab", CommandObjectSP (new CommandObjectImageDumpSymtab ()));
|
LoadSubCommand (interpreter, "symtab", CommandObjectSP (new CommandObjectImageDumpSymtab ()));
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ public:
|
|||||||
{
|
{
|
||||||
if (args.GetArgumentCount() < 1)
|
if (args.GetArgumentCount() < 1)
|
||||||
{
|
{
|
||||||
result.GetErrorStream() << m_cmd_syntax.c_str();
|
result.AppendErrorWithFormat("Usage: %s\n", m_cmd_syntax.c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -254,7 +254,7 @@ public:
|
|||||||
const size_t argc = args.GetArgumentCount();
|
const size_t argc = args.GetArgumentCount();
|
||||||
if (argc == 0)
|
if (argc == 0)
|
||||||
{
|
{
|
||||||
result.GetErrorStream() << m_cmd_syntax.c_str();
|
result.AppendErrorWithFormat("Usage: %s\n", m_cmd_syntax.c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectMemoryRead () :
|
CommandObjectMemoryRead () :
|
||||||
CommandObject ("memory read",
|
CommandObject ("memory read",
|
||||||
"Read memory from the process being debugged.",
|
"Read from the memory of the process being debugged.",
|
||||||
"memory read [<cmd-options>] <start-addr> [<end-addr>]",
|
"memory read [<cmd-options>] <start-addr> [<end-addr>]",
|
||||||
eFlagProcessMustBeLaunched)
|
eFlagProcessMustBeLaunched)
|
||||||
{
|
{
|
||||||
@@ -396,7 +396,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectMemoryWrite () :
|
CommandObjectMemoryWrite () :
|
||||||
CommandObject ("memory write",
|
CommandObject ("memory write",
|
||||||
"Write memory to the process being debugged.",
|
"Write to the memory of the process being debugged.",
|
||||||
"memory write [<cmd-options>] <addr> [value1 value2 ...]",
|
"memory write [<cmd-options>] <addr> [value1 value2 ...]",
|
||||||
eFlagProcessMustBeLaunched)
|
eFlagProcessMustBeLaunched)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectProcessLaunch () :
|
CommandObjectProcessLaunch () :
|
||||||
CommandObject ("process launch",
|
CommandObject ("process launch",
|
||||||
"Launches the executable in the debugger.",
|
"Launch the executable in the debugger.",
|
||||||
"process launch [<cmd-options>] [<arguments-for-running-the-program>]")
|
"process launch [<cmd-options>] [<arguments-for-running-the-program>]")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -454,7 +454,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectProcessAttach () :
|
CommandObjectProcessAttach () :
|
||||||
CommandObject ("process attach",
|
CommandObject ("process attach",
|
||||||
"Attaches to a process.",
|
"Attach to a process.",
|
||||||
"process attach <cmd-options>")
|
"process attach <cmd-options>")
|
||||||
{
|
{
|
||||||
SetHelpLong("Currently, you must set the executable file before you can attach "
|
SetHelpLong("Currently, you must set the executable file before you can attach "
|
||||||
@@ -683,7 +683,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectProcessContinue () :
|
CommandObjectProcessContinue () :
|
||||||
CommandObject ("process continue",
|
CommandObject ("process continue",
|
||||||
"Continues execution all threads in the current process.",
|
"Continue execution of all threads in the current process.",
|
||||||
"process continue",
|
"process continue",
|
||||||
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
||||||
{
|
{
|
||||||
@@ -770,7 +770,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectProcessDetach () :
|
CommandObjectProcessDetach () :
|
||||||
CommandObject ("process detach",
|
CommandObject ("process detach",
|
||||||
"Detaches from the current process being debugged.",
|
"Detach from the current process being debugged.",
|
||||||
"process detach",
|
"process detach",
|
||||||
eFlagProcessMustBeLaunched)
|
eFlagProcessMustBeLaunched)
|
||||||
{
|
{
|
||||||
@@ -818,7 +818,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectProcessSignal () :
|
CommandObjectProcessSignal () :
|
||||||
CommandObject ("process signal",
|
CommandObject ("process signal",
|
||||||
"Sends a UNIX signal to the current process being debugged.",
|
"Send a UNIX signal to the current process being debugged.",
|
||||||
"process signal <unix-signal-number>")
|
"process signal <unix-signal-number>")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -884,7 +884,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectProcessInterrupt () :
|
CommandObjectProcessInterrupt () :
|
||||||
CommandObject ("process interrupt",
|
CommandObject ("process interrupt",
|
||||||
"Interrupts the current process being debugged.",
|
"Interrupt the current process being debugged.",
|
||||||
"process interrupt",
|
"process interrupt",
|
||||||
eFlagProcessMustBeLaunched)
|
eFlagProcessMustBeLaunched)
|
||||||
{
|
{
|
||||||
@@ -945,7 +945,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectProcessKill () :
|
CommandObjectProcessKill () :
|
||||||
CommandObject ("process kill",
|
CommandObject ("process kill",
|
||||||
"Terminates the current process being debugged.",
|
"Terminate the current process being debugged.",
|
||||||
"process kill",
|
"process kill",
|
||||||
eFlagProcessMustBeLaunched)
|
eFlagProcessMustBeLaunched)
|
||||||
{
|
{
|
||||||
@@ -999,9 +999,9 @@ class CommandObjectProcessStatus : public CommandObject
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CommandObjectProcessStatus () :
|
CommandObjectProcessStatus () :
|
||||||
CommandObject ("status",
|
CommandObject ("process status",
|
||||||
"Shows the current status and location of executing process.",
|
"Show the current status and location of executing process.",
|
||||||
"status",
|
"process status",
|
||||||
0)
|
0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ CommandObjectMultiwordSettings::~CommandObjectMultiwordSettings ()
|
|||||||
|
|
||||||
CommandObjectSettingsSet::CommandObjectSettingsSet () :
|
CommandObjectSettingsSet::CommandObjectSettingsSet () :
|
||||||
CommandObject ("settings set",
|
CommandObject ("settings set",
|
||||||
"Allows the user to set or change the value of a single debugger setting variable.",
|
"Set or change the value of a single debugger setting variable.",
|
||||||
"settings set [<cmd-options>] <setting-variable-name> <value>"),
|
"settings set [<cmd-options>] <setting-variable-name> <value>"),
|
||||||
m_options ()
|
m_options ()
|
||||||
{
|
{
|
||||||
@@ -259,7 +259,7 @@ CommandObjectSettingsSet::GetOptions ()
|
|||||||
|
|
||||||
CommandObjectSettingsShow::CommandObjectSettingsShow () :
|
CommandObjectSettingsShow::CommandObjectSettingsShow () :
|
||||||
CommandObject ("settings show",
|
CommandObject ("settings show",
|
||||||
"Allows the user to see a single internal debugger setting variable and its value, or lists them all.",
|
"Show the specified internal debugger setting variable and its value, or show all the currently set variables and their values, if nothing is specified.",
|
||||||
"settings show [<setting-variable-name>]")
|
"settings show [<setting-variable-name>]")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -365,7 +365,7 @@ CommandObjectSettingsShow::HandleArgumentCompletion (CommandInterpreter &interpr
|
|||||||
|
|
||||||
CommandObjectSettingsList::CommandObjectSettingsList () :
|
CommandObjectSettingsList::CommandObjectSettingsList () :
|
||||||
CommandObject ("settings list",
|
CommandObject ("settings list",
|
||||||
"Lists the internal debugger settings variables available to the user to 'set' or 'show'.",
|
"List all the internal debugger settings variables that are available to the user to 'set' or 'show'.",
|
||||||
"settings list")
|
"settings list")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -407,7 +407,7 @@ CommandObjectSettingsList::Execute (CommandInterpreter &interpreter,
|
|||||||
|
|
||||||
CommandObjectSettingsRemove::CommandObjectSettingsRemove () :
|
CommandObjectSettingsRemove::CommandObjectSettingsRemove () :
|
||||||
CommandObject ("settings remove",
|
CommandObject ("settings remove",
|
||||||
"Removes the specified element from an internal debugger settings array or dictionary variable.",
|
"Remove the specified element from an internal debugger settings array or dictionary variable.",
|
||||||
"settings remove <setting-variable-name> [<index>|\"key\"]")
|
"settings remove <setting-variable-name> [<index>|\"key\"]")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -502,7 +502,7 @@ CommandObjectSettingsRemove::HandleArgumentCompletion (CommandInterpreter &inter
|
|||||||
|
|
||||||
CommandObjectSettingsReplace::CommandObjectSettingsReplace () :
|
CommandObjectSettingsReplace::CommandObjectSettingsReplace () :
|
||||||
CommandObject ("settings replace",
|
CommandObject ("settings replace",
|
||||||
"Replaces the specified element from an internal debugger settings array or dictionary variable.",
|
"Replace the specified element from an internal debugger settings array or dictionary variable with the specified new value.",
|
||||||
"settings replace <setting-variable-name> [<index>|\"<key>\"] <new-value>")
|
"settings replace <setting-variable-name> [<index>|\"<key>\"] <new-value>")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -612,7 +612,7 @@ CommandObjectSettingsReplace::HandleArgumentCompletion (CommandInterpreter &inte
|
|||||||
|
|
||||||
CommandObjectSettingsInsertBefore::CommandObjectSettingsInsertBefore () :
|
CommandObjectSettingsInsertBefore::CommandObjectSettingsInsertBefore () :
|
||||||
CommandObject ("settings insert-before",
|
CommandObject ("settings insert-before",
|
||||||
"Inserts value(s) into an internal debugger settings array variable, immediately before the specified element.",
|
"Insert value(s) into an internal debugger settings array variable, immediately before the specified element.",
|
||||||
"settings insert-before <setting-variable-name> [<index>] <new-value>")
|
"settings insert-before <setting-variable-name> [<index>] <new-value>")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -724,7 +724,7 @@ CommandObjectSettingsInsertBefore::HandleArgumentCompletion (CommandInterpreter
|
|||||||
|
|
||||||
CommandObjectSettingsInsertAfter::CommandObjectSettingsInsertAfter () :
|
CommandObjectSettingsInsertAfter::CommandObjectSettingsInsertAfter () :
|
||||||
CommandObject ("settings insert-after",
|
CommandObject ("settings insert-after",
|
||||||
"Inserts value(s) into an internal debugger settings array variable, immediately after the specified element.",
|
"Insert value(s) into an internal debugger settings array variable, immediately after the specified element.",
|
||||||
"settings insert-after <setting-variable-name> [<index>] <new-value>")
|
"settings insert-after <setting-variable-name> [<index>] <new-value>")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -836,7 +836,7 @@ CommandObjectSettingsInsertAfter::HandleArgumentCompletion (CommandInterpreter &
|
|||||||
|
|
||||||
CommandObjectSettingsAppend::CommandObjectSettingsAppend () :
|
CommandObjectSettingsAppend::CommandObjectSettingsAppend () :
|
||||||
CommandObject ("settings append",
|
CommandObject ("settings append",
|
||||||
"Appends new value to the end of an internal debugger settings array, dictionary or string variable.",
|
"Append a new value to the end of an internal debugger settings array, dictionary or string variable.",
|
||||||
"settings append <setting-variable-name> <new-value>")
|
"settings append <setting-variable-name> <new-value>")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -936,7 +936,7 @@ CommandObjectSettingsAppend::HandleArgumentCompletion (CommandInterpreter &inter
|
|||||||
|
|
||||||
CommandObjectSettingsClear::CommandObjectSettingsClear () :
|
CommandObjectSettingsClear::CommandObjectSettingsClear () :
|
||||||
CommandObject ("settings clear",
|
CommandObject ("settings clear",
|
||||||
"Erases all the contents of an internal debugger settings variables; only valid for variables with clearable types, i.e. strings, arrays or dictionaries.",
|
"Erase all the contents of an internal debugger settings variables; this is only valid for variables with clearable types, i.e. strings, arrays or dictionaries.",
|
||||||
"settings clear")
|
"settings clear")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ class CommandObjectSourceInfo : public CommandObject
|
|||||||
public:
|
public:
|
||||||
CommandObjectSourceInfo() :
|
CommandObjectSourceInfo() :
|
||||||
CommandObject ("source info",
|
CommandObject ("source info",
|
||||||
"Display info on the source lines from the current executable's debug info.",
|
"Display information about the source lines from the current executable's debug info.",
|
||||||
"source info [<cmd-options>]")
|
"source info [<cmd-options>]")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -229,7 +229,7 @@ class CommandObjectSourceList : public CommandObject
|
|||||||
public:
|
public:
|
||||||
CommandObjectSourceList() :
|
CommandObjectSourceList() :
|
||||||
CommandObject ("source list",
|
CommandObject ("source list",
|
||||||
"Display source files from the current executable's debug info.",
|
"Display source code (as specified) based on the current executable's debug info.",
|
||||||
"source list [<cmd-options>] [<filename>]")
|
"source list [<cmd-options>] [<filename>]")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectTargetImageSearchPathsClear () :
|
CommandObjectTargetImageSearchPathsClear () :
|
||||||
CommandObject ("target image-search-paths clear",
|
CommandObject ("target image-search-paths clear",
|
||||||
"Clears all current image search paths substitution pairs from the current target.",
|
"Clear all current image search path substitution pairs from the current target.",
|
||||||
"target image-search-paths clear")
|
"target image-search-paths clear")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -134,7 +134,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectTargetImageSearchPathsInsert () :
|
CommandObjectTargetImageSearchPathsInsert () :
|
||||||
CommandObject ("target image-search-paths insert",
|
CommandObject ("target image-search-paths insert",
|
||||||
"Inserts a new image search paths substitution pair to the current target at the specified index.",
|
"Insert a new image search path substitution pair into the current target at the specified index.",
|
||||||
"target image-search-paths insert <index> <path-prefix> <new-path-prefix> [<path-prefix> <new-path-prefix>] ...")
|
"target image-search-paths insert <index> <path-prefix> <new-path-prefix> [<path-prefix> <new-path-prefix>] ...")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -217,7 +217,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectTargetImageSearchPathsList () :
|
CommandObjectTargetImageSearchPathsList () :
|
||||||
CommandObject ("target image-search-paths list",
|
CommandObject ("target image-search-paths list",
|
||||||
"Lists all current image search paths substitution pairs in the current target.",
|
"List all current image search path substitution pairs in the current target.",
|
||||||
"target image-search-paths list")
|
"target image-search-paths list")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -258,7 +258,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectTargetImageSearchPathsQuery () :
|
CommandObjectTargetImageSearchPathsQuery () :
|
||||||
CommandObject ("target image-search-paths query",
|
CommandObject ("target image-search-paths query",
|
||||||
"Transforms a path using the first applicable image search path.",
|
"Transform a path using the first applicable image search path.",
|
||||||
"target image-search-paths query <path>")
|
"target image-search-paths query <path>")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectThreadBacktrace () :
|
CommandObjectThreadBacktrace () :
|
||||||
CommandObject ("thread backtrace",
|
CommandObject ("thread backtrace",
|
||||||
"Shows the stack for one or more threads. If no threads are specified, shows the currently selected thread. Use the thread-index \"all\" to see all threads.",
|
"Show the stack for one or more threads. If no threads are specified, shows the currently selected thread. Use the thread-index \"all\" to see all threads.",
|
||||||
"thread backtrace [<thread-index>] ...",
|
"thread backtrace [<thread-index>] ...",
|
||||||
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused),
|
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused),
|
||||||
m_options()
|
m_options()
|
||||||
@@ -793,7 +793,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectThreadContinue () :
|
CommandObjectThreadContinue () :
|
||||||
CommandObject ("thread continue",
|
CommandObject ("thread continue",
|
||||||
"Continues execution of one or more threads in an active process.",
|
"Continue execution of one or more threads in an active process.",
|
||||||
"thread continue <thread-index> [<thread-index> ...]",
|
"thread continue <thread-index> [<thread-index> ...]",
|
||||||
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
||||||
{
|
{
|
||||||
@@ -1037,7 +1037,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectThreadUntil () :
|
CommandObjectThreadUntil () :
|
||||||
CommandObject ("thread until",
|
CommandObject ("thread until",
|
||||||
"Runs the current or specified thread until it reaches a given line number or leaves the current function.",
|
"Run the current or specified thread until it reaches a given line number or leaves the current function.",
|
||||||
"thread until [<cmd-options>] <line-number>",
|
"thread until [<cmd-options>] <line-number>",
|
||||||
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused),
|
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused),
|
||||||
m_options ()
|
m_options ()
|
||||||
@@ -1235,7 +1235,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectThreadSelect () :
|
CommandObjectThreadSelect () :
|
||||||
CommandObject ("thread select",
|
CommandObject ("thread select",
|
||||||
"Selects a threads as the currently active thread.",
|
"Select a threads as the currently active thread.",
|
||||||
"thread select <thread-index>",
|
"thread select <thread-index>",
|
||||||
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
||||||
{
|
{
|
||||||
@@ -1304,7 +1304,7 @@ public:
|
|||||||
|
|
||||||
CommandObjectThreadList ():
|
CommandObjectThreadList ():
|
||||||
CommandObject ("thread list",
|
CommandObject ("thread list",
|
||||||
"Shows a summary of all current threads in a process.",
|
"Show a summary of all current threads in a process.",
|
||||||
"thread list",
|
"thread list",
|
||||||
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user