summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectMultiword.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectMultiword.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMultiword.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectMultiword.cpp b/lldb/source/Commands/CommandObjectMultiword.cpp
index e5435fc648a..e11d37bb77d 100644
--- a/lldb/source/Commands/CommandObjectMultiword.cpp
+++ b/lldb/source/Commands/CommandObjectMultiword.cpp
@@ -107,12 +107,9 @@ CommandObjectMultiword::LoadSubCommand
}
bool
-CommandObjectMultiword::Execute
-(
- Args& args,
- CommandReturnObject &result
-)
+CommandObjectMultiword::Execute(const char *args_string, CommandReturnObject &result)
{
+ Args args (args_string);
const size_t argc = args.GetArgumentCount();
if (argc == 0)
{
@@ -139,7 +136,7 @@ CommandObjectMultiword::Execute
args.Shift();
- sub_cmd_obj->ExecuteWithOptions (args, result);
+ sub_cmd_obj->Execute (args_string, result);
}
else
{
OpenPOWER on IntegriCloud