A.8.33. CADI::CADIExecGetModes()

Many processors have more than run, stop, and breakpoint states. This call enables the debugger to determine the additional states.

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

is the index into the internal buffer of execution modes held by the target.

desiredNumOfModes

is the requested number of modes.

actualNumOfModes

is the number of modes returned by the target.

execModes

is a list of CADIExecMode_t structs to receive the requested execution modes. The caller allocates (and, if applicable, deallocates) space. The number of elements must be the same as desiredNumOfModes to provide enough space for the requested modes. The mode values are listed in CADI_EXECMODE_t enumeration.

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