From edb7961fe690ad9cd18e2f22aab42754c4f14b76 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 31 Jul 2014 15:05:25 +0200 Subject: [PATCH] Revert "Debugger: Weaken abi check for attaching to local process" This reverts commit eab8054535c4726d9390fe331bb9a6cae5f623f9. 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 --- src/plugins/debugger/debuggerdialogs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggerdialogs.cpp b/src/plugins/debugger/debuggerdialogs.cpp index f919cb7a858..e367e2891cd 100644 --- a/src/plugins/debugger/debuggerdialogs.cpp +++ b/src/plugins/debugger/debuggerdialogs.cpp @@ -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; }