forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user