Clarify the launch style for debugserver to use.

<rdar://problem/18786645> 

llvm-svn: 220761
This commit is contained in:
Jason Molenda
2014-10-28 03:15:33 +00:00
parent 56dd1ac16f
commit 0f7828cf6d
3 changed files with 5 additions and 7 deletions

View File

@@ -2000,9 +2000,7 @@ MachProcess::LaunchForDebug
break; // We tried a BKS launch, but didn't succeed lets get out
}
}
// In case the executable name has a ".app" fragment which confuses our debugserver,
// let's do an intentional fallthrough here...
launch_flavor = eLaunchFlavorPosixSpawn;
break;
#endif
#ifdef WITH_SPRINGBOARD
@@ -2032,9 +2030,7 @@ MachProcess::LaunchForDebug
break; // We tried a springboard launch, but didn't succeed lets get out
}
}
// In case the executable name has a ".app" fragment which confuses our debugserver,
// let's do an intentional fallthrough here...
launch_flavor = eLaunchFlavorPosixSpawn;
break;
#endif

View File

@@ -10,7 +10,8 @@
<array>
<string>/Developer/usr/bin/debugserver</string>
<string>--lockdown</string>
<string>--applist</string>
<string>--applist</string>
<string>--launch=backboard</string>
</array>
</dict>
</plist>

View File

@@ -10,6 +10,7 @@
<array>
<string>/Developer/usr/bin/debugserver</string>
<string>--lockdown</string>
<string>--launch=backboard</string>
</array>
</dict>
</plist>