summaryrefslogtreecommitdiffstats
path: root/lldb/test/api/multithreaded
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-12-13 19:18:59 +0000
committerGreg Clayton <gclayton@apple.com>2013-12-13 19:18:59 +0000
commitc694751a06f2b61586b24798f84f7d88452dd3b5 (patch)
treefe24cc09ee16ef13e2c5c607df20401b9091a01a /lldb/test/api/multithreaded
parent8e9026eee2263274d6d67de0065e759dab9583dc (diff)
downloadbcm5719-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.cpp2
-rw-r--r--lldb/test/api/multithreaded/test_breakpoint_callback.cpp2
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);
OpenPOWER on IntegriCloud