A.7.7 CADICallbackObj::modeChange()

This method reports a mode change from the target to the debugger.

virtual void CADICallbackObj::modeChange(uint32_t newMode, 
                                CADIBptNumber_t bptNumber) = 0;
newMode
is one of the CADI_EXECMODE_* constants.
bptNumber

is the breakpoint number. This value is used if the debugger has an action associated with a particular breakpoint. Temporary breakpoints, for example, might run a script after the breakpoint was hit.

This parameter can be ignored for all mode changes not related to a breakpoint.

Note:

The modeChange(CADI_EXECMODE_ResetDone) callback is identical to the legacy CADICallbackObj::reset() callback.

Targets must support both callbacks to maintain backwards compatibility.

ARM recommends using modeChange(CADI_EXECMODE_ResetDone) in client code because a future version of CADI is to deprecate the reset() callback.

Non-ConfidentialPDF file icon PDF version100963_0200_03_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.