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

A target must not call this function while the simulation is running.

Non-ConfidentialPDF file icon PDF versionARM 100963_0200_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.