Debugger: Fix cdbMatcher to match on wordsize

Change-Id: Iaf08cefb9327628d79a87e8664c38f96b6894e8c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Tobias Hunger
2016-11-29 14:57:31 +01:00
parent 7c4d993640
commit 1b0c2a28d1

View File

@@ -587,7 +587,7 @@ static std::function<bool(const Kit *)> cdbMatcher(char wordWidth = 0)
return false;
}
if (wordWidth)
ToolChainKitInformation::targetAbi(k).wordWidth();
return ToolChainKitInformation::targetAbi(k).wordWidth() == wordWidth;
return true;
};
}