Datasheet

ARMulator Reference
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-49
4.10.8 ARMulif_StopExecution
This function stops simulator execution at the end of the current instruction, giving a
reason code.
Syntax
void ARMulif_StopExecution(RDI_ModuleDesc *mdesc, unsigned reason)
where:
mdesc
is the handle for the core.
reason
is an
RDIError
error value. The debugger interprets
reason
and issues a
suitable message. Expected errors are:
RDIError_NoError
Program ran to a natural termination.
RDIError_BreakpointReached
Stop condition was a breakpoint.
RDIError_WatchPointReached
Stop condition was a watchpoint.
RDIError_UserInterrupt
Execution interrupted by the user.
4.10.9 ARMulif_EndCondition
This function returns the
reason
passed to
ARMulif_StopExecution
.
Syntax
unsigned ARMulif_EndCondition(RDI_ModuleDesc *mdesc)
where:
mdesc
is the handle for the core.