diff options
| author | Greg Clayton <gclayton@apple.com> | 2013-12-13 19:18:59 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2013-12-13 19:18:59 +0000 |
| commit | c694751a06f2b61586b24798f84f7d88452dd3b5 (patch) | |
| tree | fe24cc09ee16ef13e2c5c607df20401b9091a01a /lldb/test/api/multithreaded | |
| parent | 8e9026eee2263274d6d67de0065e759dab9583dc (diff) | |
| download | bcm5719-llvm-c694751a06f2b61586b24798f84f7d88452dd3b5.tar.gz bcm5719-llvm-c694751a06f2b61586b24798f84f7d88452dd3b5.zip | |
Correctly set the working directory when launching processes for both local and remote targets.
llvm-svn: 197266
Diffstat (limited to 'lldb/test/api/multithreaded')
| -rw-r--r-- | lldb/test/api/multithreaded/listener_test.cpp | 2 | ||||
| -rw-r--r-- | lldb/test/api/multithreaded/test_breakpoint_callback.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/api/multithreaded/listener_test.cpp b/lldb/test/api/multithreaded/listener_test.cpp index 6697428bd1e..b20868ff94f 100644 --- a/lldb/test/api/multithreaded/listener_test.cpp +++ b/lldb/test/api/multithreaded/listener_test.cpp @@ -49,7 +49,7 @@ void test(SBDebugger &dbg, std::vector<string> args) { throw Exception("Error launching process."); /* FIXME: the approach below deadlocks - SBProcess process = target.LaunchSimple(0, 0, working_dir.get()); + SBProcess process = target.LaunchSimple (0, 0, working_dir.get()); // get debugger listener (which is attached to process by default) g_listener = dbg.GetListener(); diff --git a/lldb/test/api/multithreaded/test_breakpoint_callback.cpp b/lldb/test/api/multithreaded/test_breakpoint_callback.cpp index a6f256075d2..0cc1b6ddba6 100644 --- a/lldb/test/api/multithreaded/test_breakpoint_callback.cpp +++ b/lldb/test/api/multithreaded/test_breakpoint_callback.cpp @@ -37,7 +37,7 @@ void test(SBDebugger &dbg, vector<string> args) { breakpoint.SetCallback(BPCallback, 0); std::unique_ptr<char> working_dir(get_working_dir()); - SBProcess process = target.LaunchSimple(0, 0, working_dir.get()); + SBProcess process = target.LaunchSimple (0, 0, working_dir.get()); { unique_lock<mutex> lock(g_mutex); |

