lldb/ios: add platform specification

Change-Id: Ie7867dce5bd50573d714d41bf46195a802eb61c7
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Fawzi Mohamed
2013-10-31 10:07:28 +01:00
committed by hjk
parent 262e3ab9db
commit 345eb5b0a5
4 changed files with 15 additions and 6 deletions

View File

@@ -75,10 +75,13 @@ RunControl *IosDebugSupport::createDebugRunControl(IosRunConfiguration *runConfi
QmakeProject *project = static_cast<QmakeProject *>(target->project());
DebuggerStartParameters params;
if (device->type() == Core::Id(Ios::Constants::IOS_DEVICE_TYPE))
if (device->type() == Core::Id(Ios::Constants::IOS_DEVICE_TYPE)) {
params.startMode = AttachToRemoteProcess;
else
params.platform = QLatin1String("remote-ios");
} else {
params.startMode = AttachExternal;
params.platform = QLatin1String("ios-simulator");
}
params.displayName = runConfig->appName();
params.remoteSetupNeeded = true;