forked from qt-creator/qt-creator
Debugger: prefer 64 bit cdb and remove auto detected 32 bit cdb
Change-Id: I57a4b0cb25a6d33478bc7a5cde9a427cfc5214c6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -440,8 +440,11 @@ static DebuggerItem::MatchLevel matchSingle(const Abi &debuggerAbi, const Abi &t
|
||||
return matchOnMultiarch;
|
||||
}
|
||||
|
||||
if (debuggerAbi.wordWidth() == 64 && targetAbi.wordWidth() == 32)
|
||||
return DebuggerItem::MatchesSomewhat;
|
||||
if (debuggerAbi.wordWidth() == 64 && targetAbi.wordWidth() == 32) {
|
||||
return HostOsInfo::isWindowsHost() && engineType == CdbEngineType
|
||||
? DebuggerItem::MatchesPerfectly
|
||||
: DebuggerItem::MatchesSomewhat;
|
||||
}
|
||||
if (debuggerAbi.wordWidth() != 0 && debuggerAbi.wordWidth() != targetAbi.wordWidth())
|
||||
return matchOnMultiarch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user