Function ctru_sys::svcSetDebugThreadContext
source · pub unsafe extern "C" fn svcSetDebugThreadContext(
debug: Handle,
threadId: u32_,
context: *mut ThreadContext,
controlFlags: ThreadContextControlFlags
) -> Result
Expand description
Updates the saved registers of a thread, either inactive or awaiting svcContinueDebugEvent, belonging to a debugged process.
§Arguments
debug
- Debug handle of the parent process.threadId
- ID of the thread to update the saved registers of.context
- Values of the registers to update, see ThreadContext.controlFlags
- Which registers to update, see ThreadContextControlFlags.