Commit d40585d7 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Debugger: Fix comparison of wrong value



debuggeritem.cpp:259: warning: comparison between 'enum ProjectExplorer::Abi::OS'
and 'enum ProjectExplorer::Abi::OSFlavor' [-Wenum-compare]

Change-Id: I3b4f484abec56429bb7d7796749e7f1fa4e0317a
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent 1be0e914
......@@ -256,7 +256,7 @@ 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 == GdbEngineType && targetAbi.os() == Abi::WindowsMSysFlavor)
if (HostOsInfo::isWindowsHost() && engineType == GdbEngineType && targetAbi.osFlavor() == Abi::WindowsMSysFlavor)
return DebuggerItem::MatchesPerfectly;
if (HostOsInfo::isLinuxHost() && engineType == GdbEngineType && targetAbi.os() == Abi::LinuxOS)
return DebuggerItem::MatchesPerfectly;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment