summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Interpreter/ScriptInterpreterPython.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
index bbaa8b9ad06..18c7b990fd8 100644
--- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
@@ -1304,7 +1304,7 @@ ScriptInterpreterPython::GenerateScriptAliasFunction (StringList &user_input, St
// Create the function name & definition string.
- sstr.Printf ("def %s (debugger, args, dict):", auto_generated_function_name.c_str());
+ sstr.Printf ("def %s (debugger, args, result, dict):", auto_generated_function_name.c_str());
auto_generated_function.AppendString (sstr.GetData());
// Pre-pend code for setting up the session dictionary.
OpenPOWER on IntegriCloud