dbgdriver.cpp (kdbg-3.0.0) | : | dbgdriver.cpp (kdbg-3.0.1) | ||
---|---|---|---|---|
skipping to change at line 148 | skipping to change at line 148 | |||
// found one | // found one | |||
cmdItem = *i; | cmdItem = *i; | |||
if (mode == QMoverrideMoreEqual) { | if (mode == QMoverrideMoreEqual) { | |||
// All commands are equal, but some are more equal than others... | // All commands are equal, but some are more equal than others... | |||
// put this command in front of all others | // put this command in front of all others | |||
m_lopriCmdQueue.erase(i); | m_lopriCmdQueue.erase(i); | |||
m_lopriCmdQueue.push_front(cmdItem); | m_lopriCmdQueue.push_front(cmdItem); | |||
} | } | |||
break; | break; | |||
} // else none found, so add it | } // else none found, so add it | |||
// drop through | // fall through | |||
case QMnormal: | case QMnormal: | |||
cmdItem = new CmdQueueItem(cmd, cmdString); | cmdItem = new CmdQueueItem(cmd, cmdString); | |||
m_lopriCmdQueue.push_back(cmdItem); | m_lopriCmdQueue.push_back(cmdItem); | |||
} | } | |||
// if gdb is idle, send it the command | // if gdb is idle, send it the command | |||
if (m_state == DSidle) { | if (m_state == DSidle) { | |||
ASSERT(m_activeCmd == 0); | ASSERT(m_activeCmd == 0); | |||
writeCommand(); | writeCommand(); | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |