__le_debug_set_resume_mch() — set resume machine state

The __le_debug_set_resume_mch() function allows the debug event handler to modify the machine state that will be used to resume after the debug event handler returns a result code of resume (110). (This only applies to event codes for which result code is a parameter.)

A recommended approach for using this function is to start with the current resume machine state. This can be obtained from the CIB. Changes then can be made to the registers, PSW, or other components in your local copy of the machine state. Later, if the debug event handler returns a result code of resume, the information from the updated machine state is used to resume the application program.

Syntax

#include <__le_api.h>

void __le_debug_set_resume_mch (__mch_t *position, _FEEDBACK *fc)

position (input)
A pointer to a valid machine state to which the resume cursor is be moved.
fc (output/optional)
A pointer to a 16-byte Feedback Code where the results of this function will be stored. Feedback codes returned include:
   CEE000       Severity      0
                Msg_No        N/A
                Message       The service completed successfully.

   CEE07V       Severity      2
                Msg_No        0255
                Message       position parameter is not a machine state.