[Lldb-commits] [lldb] r139345 - /lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp

Enrico Granata granata.enrico at gmail.com
Thu Sep 8 18:41:30 PDT 2011


Author: enrico
Date: Thu Sep  8 20:41:30 2011
New Revision: 139345

URL: http://llvm.org/viewvc/llvm-project?rev=139345&view=rev
Log:
Fixing an issue with Python commands defined interactively

Modified:
    lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp

Modified: lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp?rev=139345&r1=139344&r2=139345&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp (original)
+++ lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp Thu Sep  8 20:41:30 2011
@@ -1304,7 +1304,7 @@
     
     // 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.





More information about the lldb-commits mailing list