Commit eab80545 authored by hjk's avatar hjk

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: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 2dd9a0cc
......@@ -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;
}
......
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