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

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

Task-number: QTCREATORBUG-12772
Change-Id: I87b17cd81621aca0142633c008c0f1114f349b1f
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
hjk
2014-07-31 15:05:25 +02:00
parent 5aabc70619
commit edb7961fe6

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().isCompatibleWith(m_hostAbi);
return tc && tc->targetAbi().os() == m_hostAbi.os();
}
return true;
}