forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user