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:
hjk
2013-09-12 16:34:34 +02:00
parent 8098c085fe
commit 242ad7e527
5 changed files with 4 additions and 16 deletions

View File

@@ -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) {