forked from qt-creator/qt-creator
Debugger: prefer cdb for msvc targets
Change-Id: I4d305ae6f3b54d7f724f2cfbde6062663e3c0ad1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -381,6 +381,11 @@ static DebuggerItem::MatchLevel matchSingle(const Abi &debuggerAbi, const Abi &t
|
||||
return DebuggerItem::DoesNotMatch;
|
||||
|
||||
// We have at least 'Matches well' now. Mark the combinations we really like.
|
||||
if (HostOsInfo::isWindowsHost() && engineType == CdbEngineType
|
||||
&& targetAbi.osFlavor() >= Abi::WindowsMsvc2005Flavor
|
||||
&& targetAbi.osFlavor() <= Abi::WindowsLastMsvcFlavor) {
|
||||
return DebuggerItem::MatchesPerfectly;
|
||||
}
|
||||
if (HostOsInfo::isWindowsHost() && engineType == GdbEngineType && targetAbi.osFlavor() == Abi::WindowsMSysFlavor)
|
||||
return DebuggerItem::MatchesPerfectly;
|
||||
if (HostOsInfo::isLinuxHost() && engineType == GdbEngineType && targetAbi.os() == Abi::LinuxOS)
|
||||
|
||||
Reference in New Issue
Block a user