Skip to content
Snippets Groups Projects
Commit eab80545 authored by hjk's avatar hjk
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ bool DebuggerKitChooser::kitMatches(const ProjectExplorer::Kit *k) const ...@@ -117,7 +117,7 @@ bool DebuggerKitChooser::kitMatches(const ProjectExplorer::Kit *k) const
return false; return false;
if (m_mode == LocalDebugging) { if (m_mode == LocalDebugging) {
const ProjectExplorer::ToolChain *tc = ToolChainKitInformation::toolChain(k); const ProjectExplorer::ToolChain *tc = ToolChainKitInformation::toolChain(k);
return tc && tc->targetAbi().os() == m_hostAbi.os(); return tc && tc->targetAbi().isCompatibleWith(m_hostAbi);
} }
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment