summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/DNB.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2015-10-23 02:49:51 +0000
committerJason Molenda <jmolenda@apple.com>2015-10-23 02:49:51 +0000
commitc611a740599b9b4e4fcb891bc71fac623c5c4ab9 (patch)
treeafa15df037b9836b18c916c2fdc4350214f57dc3 /lldb/tools/debugserver/source/DNB.cpp
parent96f0e0bfc94485787f3ac06865de7f01b454a86c (diff)
downloadbcm5719-llvm-c611a740599b9b4e4fcb891bc71fac623c5c4ab9.tar.gz
bcm5719-llvm-c611a740599b9b4e4fcb891bc71fac623c5c4ab9.zip
Upstreaming the apple internal changes that accumulated during the
previous release. Most of the diffs are duplication in the xcode project file caused by adding a "debugserver-mini" target. Jim Ingham added support for a new SPI needed to request app launches on iOS. Greg Clayton added code to indicate the platform of the binary (macosx, ios, watchos, tvos) based on Mach-O load commands. Jason Molenda added code so debugserver will identify when it is running on a tvos/watchos device to lldb. llvm-svn: 251091
Diffstat (limited to 'lldb/tools/debugserver/source/DNB.cpp')
-rw-r--r--lldb/tools/debugserver/source/DNB.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/DNB.cpp b/lldb/tools/debugserver/source/DNB.cpp
index 53b42cd267a..03c85df441d 100644
--- a/lldb/tools/debugserver/source/DNB.cpp
+++ b/lldb/tools/debugserver/source/DNB.cpp
@@ -747,7 +747,7 @@ DNBProcessAttachWait (const char *waitfor_process_name,
if (attach_token != NULL)
{
nub_process_t pid;
- pid = MachProcess::CheckForProcess(attach_token);
+ pid = MachProcess::CheckForProcess(attach_token, launch_flavor);
if (pid != INVALID_NUB_PROCESS)
{
waitfor_pid = pid;
@@ -825,7 +825,7 @@ DNBProcessAttachWait (const char *waitfor_process_name,
}
bool success = waitfor_pid != INVALID_NUB_PROCESS;
- MachProcess::CleanupAfterAttach (attach_token, success, prepare_error);
+ MachProcess::CleanupAfterAttach (attach_token, launch_flavor, success, prepare_error);
return waitfor_pid;
}
OpenPOWER on IntegriCloud