forked from qt-creator/qt-creator
Debugger: Remove #ifdef Q_OS_WIN from hostutils.
- Provide stubs for Non-Windows - Reduce #ifdefs, check Abi if possible. - Remove unused winGetCurrentProcessId(). Task-number: QTCREATORBUG-8141 Change-Id: I80558ca4e52e87c7371597ea07c091af08097b34 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -356,12 +356,7 @@ static inline QString msgWinException(const QByteArray &data)
|
||||
QString rc;
|
||||
QTextStream str(&rc);
|
||||
str << GdbEngine::tr("An exception was triggered: ");
|
||||
#ifdef Q_OS_WIN
|
||||
formatWindowsException(exCode, address, 0, 0, 0, str);
|
||||
#else
|
||||
Q_UNUSED(exCode)
|
||||
Q_UNUSED(address)
|
||||
#endif
|
||||
str << '.';
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user