RemoteLinux/Debugger: Use SymbolFileAspect

This is/will be optionally available independent of the concrete
run configuration type, so use it.

Change-Id: Ife0e906ff47e916d2f7a9df73af8cdd83635cd65
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2018-04-23 15:38:53 +02:00
parent 22428af750
commit d6af336a7e
2 changed files with 5 additions and 5 deletions

View File

@@ -48,10 +48,6 @@ LinuxDeviceDebugSupport::LinuxDeviceDebugSupport(RunControl *runControl)
setStartMode(AttachToRemoteServer);
setCloseMode(KillAndExitMonitorAtClose);
setUseExtendedRemote(true);
RunConfiguration *runConfig = runControl->runConfiguration();
if (auto aspect = runConfig->extraAspect<SymbolFileAspect>())
setSymbolFile(aspect->fileName().toString());
}
} // namespace Internal