Debugger[CDB]: Fix assembly mode stepping.

Snapped back to source mode as the pending variable was not set.

Reviewed-by: hjk
This commit is contained in:
Friedemann Kleint
2011-04-13 12:56:42 +02:00
parent 8397663964
commit d146dd67f3

View File

@@ -486,12 +486,10 @@ CdbEngine::~CdbEngine()
void CdbEngine::operateByInstructionTriggered(bool operateByInstruction)
{
if (state() == InferiorStopOk) {
// To be set next time session becomes accessible
m_operateByInstructionPending = operateByInstruction;
if (state() == InferiorStopOk)
syncOperateByInstruction(operateByInstruction);
} else {
// To be set next time session becomes accessible
m_operateByInstructionPending = operateByInstruction;
}
}
void CdbEngine::syncOperateByInstruction(bool operateByInstruction)