Debugger: Weaken abi check for attaching to local process

Given that we don't detect all aspects of the tool chain under all
circumstances, an '==' is too strong.

Change-Id: I1c07d58d824e765f9d89fb7dd3007ca716997ee0
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
hjk
2014-07-28 16:10:03 +02:00
parent 2dd9a0cc21
commit eab8054535

View File

@@ -117,7 +117,7 @@ bool DebuggerKitChooser::kitMatches(const ProjectExplorer::Kit *k) const
return false;
if (m_mode == LocalDebugging) {
const ProjectExplorer::ToolChain *tc = ToolChainKitInformation::toolChain(k);
return tc && tc->targetAbi().os() == m_hostAbi.os();
return tc && tc->targetAbi().isCompatibleWith(m_hostAbi);
}
return true;
}