diff options
author | Tobias Hunger <[email protected]> | 2012-07-27 20:34:46 +0200 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2012-07-30 23:31:24 +0200 |
commit | b8120f29fdc68574c78915500f988cc7bb5d5836 (patch) | |
tree | 3e1cac533218fe380a4c206cb0afbba7fccf93c4 /src/plugins/debugger/debuggerplugin.cpp | |
parent | 3f74332f97b3f75e95d021e391227e38de5304c5 (diff) |
Fix support for MSVC2012.
Change-Id: I0ecf6f2d93f1911c8a243f8159e64f7d014bd036
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index d549c0213b1..110b6c392b5 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1604,11 +1604,15 @@ struct RemoteCdbMatcher : ProfileMatcher ToolChain *tc = ToolChainProfileInformation::toolChain(profile); QTC_ASSERT(tc, return false); Abi abi = tc->targetAbi(); - return abi.architecture() == m_hostAbi.architecture() - && abi.os() == Abi::WindowsOS - && abi.osFlavor() == Abi::WindowsMsvc2010Flavor - && abi.binaryFormat() == Abi::PEFormat - && abi.wordWidth() == m_hostAbi.wordWidth(); + if (abi.architecture() != m_hostAbi.architecture() + || abi.os() != Abi::WindowsOS + || abi.binaryFormat() != Abi::PEFormat + || abi.wordWidth() != m_hostAbi.wordWidth()) + return false; + if (abi.osFlavor() == Abi::WindowsMSysFlavor + || abi.osFlavor() == Abi::WindowsCEFlavor) + return false; + return true; } Abi m_hostAbi; |