forked from qt-creator/qt-creator
lldb/ios: add platform specification
Change-Id: Ie7867dce5bd50573d714d41bf46195a802eb61c7 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user