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