Commit 6b2d2160 authored by hjk's avatar hjk

Android/Debugger: Use -exec-continue instead of -exec-run

... and use the symbol file similarly to the other remote
setups. This makes it work with NDK r10e at least.

Change-Id: I4264d6201d1fb9dd0fed71168ee4155dde53265c
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent 73127a12
...@@ -92,11 +92,12 @@ RunControl *AndroidDebugSupport::createDebugRunControl(AndroidRunConfiguration * ...@@ -92,11 +92,12 @@ RunControl *AndroidDebugSupport::createDebugRunControl(AndroidRunConfiguration *
params.startMode = AttachToRemoteServer; params.startMode = AttachToRemoteServer;
params.displayName = AndroidManager::packageName(target); params.displayName = AndroidManager::packageName(target);
params.remoteSetupNeeded = true; params.remoteSetupNeeded = true;
params.useContinueInsteadOfRun = true;
auto aspect = runConfig->extraAspect<DebuggerRunConfigurationAspect>(); auto aspect = runConfig->extraAspect<DebuggerRunConfigurationAspect>();
if (aspect->useCppDebugger()) { if (aspect->useCppDebugger()) {
Kit *kit = target->kit(); Kit *kit = target->kit();
params.inferior.executable = target->activeBuildConfiguration()->buildDirectory().toString() params.symbolFile = target->activeBuildConfiguration()->buildDirectory().toString()
+ QLatin1String("/app_process"); + QLatin1String("/app_process");
params.skipExecutableValidation = true; params.skipExecutableValidation = true;
params.remoteChannel = runConfig->remoteChannel(); params.remoteChannel = runConfig->remoteChannel();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment