From 27fbe170d43e4c471fc1ca1d59dc478a10ca5404 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 27 Jun 2012 15:58:47 +0200 Subject: [PATCH] remotelinux: remove line noise Change-Id: I5878f69257dd396e52c2835413d7045ed5c71f02 Reviewed-by: hjk --- .../remotelinux/remotelinuxdebugsupport.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp index a561bda67ad..86adfdf554c 100644 --- a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp +++ b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp @@ -73,7 +73,7 @@ public: { } - const QPointer engine; + const QPointer engine; bool qmlDebugging; bool cppDebugging; QByteArray gdbserverOutput; @@ -98,7 +98,7 @@ DebuggerStartParameters AbstractRemoteLinuxDebugSupport::startParameters(const R { DebuggerStartParameters params; const LinuxDeviceConfiguration::ConstPtr devConf - = ProjectExplorer::DeviceProfileInformation::device(runConfig->target()->profile()) + = DeviceProfileInformation::device(runConfig->target()->profile()) .dynamicCast(); if (runConfig->debuggerAspect()->useQmlDebugger()) { params.languages |= QmlLanguage; @@ -109,21 +109,21 @@ DebuggerStartParameters AbstractRemoteLinuxDebugSupport::startParameters(const R params.languages |= CppLanguage; params.processArgs = runConfig->arguments(); QString systemRoot; - if (ProjectExplorer::SysRootProfileInformation::hasSysRoot(runConfig->target()->profile())) - systemRoot = ProjectExplorer::SysRootProfileInformation::sysRoot(runConfig->target()->profile()).toString(); + if (SysRootProfileInformation::hasSysRoot(runConfig->target()->profile())) + systemRoot = SysRootProfileInformation::sysRoot(runConfig->target()->profile()).toString(); params.sysroot = systemRoot; params.toolChainAbi = runConfig->abi(); params.startMode = AttachToRemoteServer; params.executable = runConfig->localExecutableFilePath(); - params.debuggerCommand = Debugger::DebuggerProfileInformation::debuggerCommand(runConfig->target()->profile()).toString(); + params.debuggerCommand = DebuggerProfileInformation::debuggerCommand(runConfig->target()->profile()).toString(); params.remoteChannel = devConf->sshParameters().host + QLatin1String(":-1"); // TODO: This functionality should be inside the debugger. ToolChain *tc = ToolChainProfileInformation::toolChain(runConfig->target()->profile()); if (tc) { - const ProjectExplorer::Abi &abi = tc->targetAbi(); + const Abi &abi = tc->targetAbi(); params.remoteArchitecture = abi.toString(); - params.gnuTarget = QLatin1String(abi.architecture() == ProjectExplorer::Abi::ArmArchitecture + params.gnuTarget = QLatin1String(abi.architecture() == Abi::ArmArchitecture ? "arm-none-linux-gnueabi": "i386-unknown-linux-gnu"); } } else { @@ -132,11 +132,10 @@ DebuggerStartParameters AbstractRemoteLinuxDebugSupport::startParameters(const R params.remoteSetupNeeded = true; params.displayName = runConfig->displayName(); - if (const ProjectExplorer::Project *project = runConfig->target()->project()) { + if (const Project *project = runConfig->target()->project()) { params.projectSourceDirectory = project->projectDirectory(); - if (const ProjectExplorer::BuildConfiguration *buildConfig = runConfig->target()->activeBuildConfiguration()) { + if (const BuildConfiguration *buildConfig = runConfig->target()->activeBuildConfiguration()) params.projectBuildDirectory = buildConfig->buildDirectory(); - } params.projectSourceFiles = project->files(Project::ExcludeGeneratedFiles); }