forked from qt-creator/qt-creator
Make QNX a separate OS type
Limits conflicts with Linux tool chains and debuggers. Change-Id: Ie6408aecbc2828e8be53c46cf579441ccaba19bb Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -100,7 +100,13 @@ DebuggerItem::DebuggerItem(const QVariantMap &data)
|
||||
m_abis.append(abi);
|
||||
}
|
||||
|
||||
if (m_version.isEmpty())
|
||||
bool mightBeAPreQnxSeparateOSQnxDebugger = m_command.fileName().startsWith("nto")
|
||||
&& m_abis.count() == 1
|
||||
&& m_abis[0].os() == Abi::UnknownOS
|
||||
&& m_abis[0].osFlavor() == Abi::UnknownFlavor
|
||||
&& m_abis[0].binaryFormat() == Abi::UnknownFormat;
|
||||
|
||||
if (m_version.isEmpty() || mightBeAPreQnxSeparateOSQnxDebugger)
|
||||
reinitializeFromFile();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user