A.7.13. CADICallbackObj::refresh()

Use this callback whenever the state of a target changes spontaneously while the model is in the stopped state. Do not use it with a modeChange(Stop), modeChange(Error) or modeChange(ResetDone) callback.

A target can notify a debugger to update its display if, for example, a register value changes in the target because it was edited by a debugger. The target uses refresh(REGISTERS) to notify the other debuggers of the register change. If, however, a target hits a breakpoint and stops, it must call the necessary modeChange() callbacks instead of the refresh() callbacks.

virtual void CADICallbackObj::refresh(uint32_t refreshReason) = 0

See CADIRefreshReason_t for the definition of the refresh reason constants.

See CADI_EXECMODE_t enumeration for details on the relationship between modeChange() callbacks and refresh() callbacks. A target must not call this function while the simulation is running.

Copyright © 2014 ARM. All rights reserved.ARM DUI 0842B
Non-ConfidentialID111014