3.2.32. CADI::CADIExecGetModes()

Many processors have more than just a run state and a breakpoint state. This call allows the debugger to determine what these states are.

virtual CADIReturn_t CADI::CADIExecGetModes (uint32_t startModeIndex, 
        uint32_t desiredNumOfModes, uint32_t * actualNumOfModes, 
        CADIExecMode_t * execModes) =0

where:

startModeIndex

is the index into the target’s buffer of execution modes.

desiredNumOfModes

is the requested number of modes This call can be repeated with index + count as the index.

actualNumOfModes

is the number of modes returned by the target.

execModes

is the space. The caller allocates (and, if applicable, deallocates) space. The number of elements must be the same as actualNumOfModes. The mode values are listed in CADI_EXECMODE_t enumeration.

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0359B
Non-Confidential