From bac233511dcc859c78b435242af6fe08038dd60c Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 9 Sep 2011 01:41:30 +0000 Subject: Fixing an issue with Python commands defined interactively llvm-svn: 139345 --- lldb/source/Interpreter/ScriptInterpreterPython.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp') 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. -- cgit v1.2.3