aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectHelp.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-09-09 06:25:08 +0000
committerCaroline Tice <ctice@apple.com>2010-09-09 06:25:08 +0000
commit101c7c2060354f6e91efc65f9c4ea9f13a591152 (patch)
treed8423df9d08dfc78cd1615f317468f5ff70c9e76 /lldb/source/Commands/CommandObjectHelp.cpp
parent4adbaf184340a71925eea83a2811c4763e281f38 (diff)
downloadllvm-101c7c2060354f6e91efc65f9c4ea9f13a591152.zip
llvm-101c7c2060354f6e91efc65f9c4ea9f13a591152.tar.gz
llvm-101c7c2060354f6e91efc65f9c4ea9f13a591152.tar.bz2
Make all debugger-level user settable variables into instance variables.
Make get/set variable at the debugger level always set the particular debugger's instance variables rather than the default variables. llvm-svn: 113474
Diffstat (limited to 'lldb/source/Commands/CommandObjectHelp.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectHelp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectHelp.cpp b/lldb/source/Commands/CommandObjectHelp.cpp
index 78c2452..9541d36 100644
--- a/lldb/source/Commands/CommandObjectHelp.cpp
+++ b/lldb/source/Commands/CommandObjectHelp.cpp
@@ -96,7 +96,8 @@ CommandObjectHelp::Execute (CommandInterpreter &interpreter, Args& command, Comm
{
interpreter.OutputFormattedHelpText (output_strm, "", "", sub_cmd_obj->GetHelp(), 1);
output_strm.Printf ("\nSyntax: %s\n", sub_cmd_obj->GetSyntax());
- sub_cmd_obj->GetOptions()->GenerateOptionUsage (output_strm, sub_cmd_obj);
+ sub_cmd_obj->GetOptions()->GenerateOptionUsage (output_strm, sub_cmd_obj,
+ interpreter.GetDebugger().GetInstanceName().AsCString());
const char *long_help = sub_cmd_obj->GetHelpLong();
if ((long_help != NULL)
&& (strlen (long_help) > 0))