mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 15:19:37 +00:00
[SOFT386]
Don't single-step on a prefix. Single-step should execute one whole instruction. svn path=/branches/ntvdm/; revision=60588
This commit is contained in:
parent
182d7c8725
commit
10523b910e
|
@ -77,13 +77,19 @@ Soft386ExecutionControl(PSOFT386_STATE State, INT Command)
|
||||||
/* A non-prefix opcode has been executed, reset the prefix flags */
|
/* A non-prefix opcode has been executed, reset the prefix flags */
|
||||||
State->PrefixFlags = 0;
|
State->PrefixFlags = 0;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* This is a prefix, go to the next instruction immediately */
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/* Increment the time stamp counter */
|
/* Increment the time stamp counter */
|
||||||
State->TimeStampCounter++;
|
State->TimeStampCounter++;
|
||||||
}
|
}
|
||||||
while ((Command == SOFT386_CONTINUE)
|
while ((Command == SOFT386_CONTINUE)
|
||||||
|| (Command == SOFT386_STEP_OVER && ProcedureCallCount > 0)
|
|| (Command == SOFT386_STEP_OVER && ProcedureCallCount > 0)
|
||||||
|| (Command == SOFT386_STEP_OUT && ProcedureCallCount >= 0));
|
|| (Command == SOFT386_STEP_OUT && ProcedureCallCount >= 0)
|
||||||
|
|| (Soft386OpcodeHandlers[Opcode] == Soft386OpcodePrefix));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PUBLIC FUNCTIONS ***********************************************************/
|
/* PUBLIC FUNCTIONS ***********************************************************/
|
||||||
|
|
Loading…
Reference in a new issue