Commit 7c7e6bd6 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Fix compilation.

Breakage introduced by ded2dd12

.

Change-Id: I2293024c42c0b237960ad0a1dee06a01dd777ba8
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 42a885fc
......@@ -371,7 +371,7 @@ static inline bool isMsvcFlavor(Abi::OSFlavor osf)
bool checkCdbConfiguration(const DebuggerStartParameters &sp, ConfigurationCheck *check)
{
#ifdef Q_OS_WIN
const Abi abi = toolChainAbi(sp);
const Abi abi = sp.toolChainAbi;
if (!isCdbEngineEnabled()) {
check->errorDetails.push_back(CdbEngine::tr("The CDB debug engine required for %1 is currently disabled.").
arg(abi.toString()));
......@@ -396,7 +396,7 @@ bool checkCdbConfiguration(const DebuggerStartParameters &sp, ConfigurationCheck
return false;
}
if (debuggerCommand(sp).isEmpty()) {
if (sp.debuggerCommand.isEmpty()) {
check->errorDetails.push_back(msgNoCdbBinaryForToolChain(abi));
check->settingsCategory = QLatin1String(ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY);
check->settingsPage = QLatin1String(ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY);
......
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