forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user