forked from qt-creator/qt-creator
Debugger: Remove avoidable platform dependent compilation
Less chance for compile fix ping pong. Change-Id: I2b055d1a12ba848f86d5246592ed7bb6d06fff51 Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com> Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -435,10 +435,8 @@ void GdbRemoteServerEngine::interruptInferior2()
|
||||
if (debuggerCore()->boolSetting(TargetAsync)) {
|
||||
postCommand("-exec-interrupt", GdbEngine::Immediate,
|
||||
CB(handleInterruptInferior));
|
||||
#ifdef Q_OS_WIN
|
||||
} else if (m_isQnxGdb) {
|
||||
} else if (m_isQnxGdb && Utils::HostOsInfo::isWindowsHost()) {
|
||||
m_gdbProc->winInterruptByCtrlC();
|
||||
#endif
|
||||
} else {
|
||||
bool ok = m_gdbProc->interrupt();
|
||||
if (!ok) {
|
||||
|
||||
Reference in New Issue
Block a user