diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-01-23 17:46:22 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-01-23 17:46:22 +0000 |
| commit | 6f907e69e9de7e59f94f664788cca86b96145648 (patch) | |
| tree | 62b20f933a5f01f992c56d6725c5cdf117fc0878 /lldb/test/python_api/event | |
| parent | 499897b463f48bdce9c3ea1b20e54fac903a166f (diff) | |
| download | bcm5719-llvm-6f907e69e9de7e59f94f664788cca86b96145648.tar.gz bcm5719-llvm-6f907e69e9de7e59f94f664788cca86b96145648.zip | |
Deprecated old forms of SBTarget::Launch. There is not just one and no
SWIG renaming done to work around deprecated APIs.
llvm-svn: 124075
Diffstat (limited to 'lldb/test/python_api/event')
| -rw-r--r-- | lldb/test/python_api/event/TestEvents.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py index 0c437831aa6..bb59b2ff780 100644 --- a/lldb/test/python_api/event/TestEvents.py +++ b/lldb/test/python_api/event/TestEvents.py @@ -60,7 +60,8 @@ class EventAPITestCase(TestBase): VALID_BREAKPOINT) # Now launch the process, and do not stop at entry point. - self.process = target.LaunchProcess([], [], os.ctermid(), 0, False) + error = lldb.SBError() + self.process = target.Launch (None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error) self.process = target.GetProcess() self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID) @@ -121,7 +122,8 @@ class EventAPITestCase(TestBase): VALID_BREAKPOINT) # Now launch the process, and do not stop at the entry point. - self.process = target.LaunchProcess([], [], os.ctermid(), 0, False) + error = lldb.SBError() + self.process = target.Launch (None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error) self.process = target.GetProcess() self.assertTrue(self.process.GetState() == lldb.eStateStopped, |

