Commit edb7961f authored by hjk's avatar hjk
Browse files

Revert "Debugger: Weaken abi check for attaching to local process"

This reverts commit eab80545

.
The commit introduces regressions as GDB will be considered
as suitable for MSVC compiled binaries.

Task-number: QTCREATORBUG-12772
Change-Id: I87b17cd81621aca0142633c008c0f1114f349b1f
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 5aabc706
......@@ -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().isCompatibleWith(m_hostAbi);
return tc && tc->targetAbi().os() == m_hostAbi.os();
}
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