diff options
| author | Enrico Granata <granata.enrico@gmail.com> | 2011-09-09 01:41:30 +0000 |
|---|---|---|
| committer | Enrico Granata <granata.enrico@gmail.com> | 2011-09-09 01:41:30 +0000 |
| commit | bac233511dcc859c78b435242af6fe08038dd60c (patch) | |
| tree | b7b32c78d56f290561a49cd2e27beffea37878d7 /lldb/source/Interpreter/ScriptInterpreterPython.cpp | |
| parent | df1df7edf175cc4615807f1e6f63bd53900fb8ec (diff) | |
| download | bcm5719-llvm-bac233511dcc859c78b435242af6fe08038dd60c.tar.gz bcm5719-llvm-bac233511dcc859c78b435242af6fe08038dd60c.zip | |
Fixing an issue with Python commands defined interactively
llvm-svn: 139345
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
| -rw-r--r-- | lldb/source/Interpreter/ScriptInterpreterPython.cpp | 2 |
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. |

