summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/append-debugger-id.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/append-debugger-id.py')
-rw-r--r--lldb/scripts/Python/append-debugger-id.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/scripts/Python/append-debugger-id.py b/lldb/scripts/Python/append-debugger-id.py
index 26460c8dc40..474443a0c89 100644
--- a/lldb/scripts/Python/append-debugger-id.py
+++ b/lldb/scripts/Python/append-debugger-id.py
@@ -5,6 +5,9 @@
# module (which was automatically generated via running swig), and
# initializes it to 0.
#
+# It also calls SBDebugger.Initialize() to initialize the lldb debugger
+# subsystem.
+#
import sys
@@ -21,7 +24,7 @@ except IOError:
print "Error: Unable to open file for appending: " + output_name
else:
f_out.write ("debugger_unique_id = 0\n");
- f_out.write ("lldb.SBDebugger.Initialize()\n");
+ f_out.write ("SBDebugger.Initialize()\n");
try:
f_out.close()
except IOError:
OpenPOWER on IntegriCloud