summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectShow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectShow.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectShow.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectShow.cpp b/lldb/source/Commands/CommandObjectShow.cpp
index be6f6888a99..4acbf66d548 100644
--- a/lldb/source/Commands/CommandObjectShow.cpp
+++ b/lldb/source/Commands/CommandObjectShow.cpp
@@ -38,9 +38,8 @@ CommandObjectShow::~CommandObjectShow()
bool
CommandObjectShow::Execute
(
+ CommandInterpreter &interpreter,
Args& command,
- CommandContext *context,
- CommandInterpreter *interpreter,
CommandReturnObject &result
)
{
@@ -51,7 +50,7 @@ CommandObjectShow::Execute
// The user requested to see the value of a particular variable.
const char *var_name = command.GetArgumentAtIndex(0);
- StateVariable *var = interpreter->GetStateVariable(var_name);
+ StateVariable *var = interpreter.GetStateVariable(var_name);
if (var)
{
var->AppendVariableInformation (result);
@@ -66,7 +65,7 @@ CommandObjectShow::Execute
else
{
// The user didn't specify a particular variable, so show the values of all of them.
- interpreter->ShowVariableValues(result);
+ interpreter.ShowVariableValues(result);
result.SetStatus (eReturnStatusSuccessFinishNoResult);
}
OpenPOWER on IntegriCloud