diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-10-14 16:36:49 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-10-14 16:36:49 +0000 |
commit | cd8b2bbed2f5164791478806015addeaaddebbba (patch) | |
tree | b91d633ab4e73d1fa287bd72b9f492d62531911d /lldb/scripts/Python/append-debugger-id.py | |
parent | bee6e9f8e01b2f622a843522958b8f80636ee4fd (diff) | |
download | bcm5719-llvm-cd8b2bbed2f5164791478806015addeaaddebbba.tar.gz bcm5719-llvm-cd8b2bbed2f5164791478806015addeaaddebbba.zip |
Change the call within lldb.py to 'SBDebugger.Initialize()' from 'lldb.SBDebugger.Initialize()'.
Inside the lldb module, there's no need (and as a matter of fact, incorrect) to specify the 'lldb'
module name.
Comment out the call to lldb.SBDebugger.Initialize() within the test driver itself, since it is
already done when we import the lldb.py module.
llvm-svn: 116485
Diffstat (limited to 'lldb/scripts/Python/append-debugger-id.py')
-rw-r--r-- | lldb/scripts/Python/append-debugger-id.py | 5 |
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: |