DBG C WriteReg: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
;Restrictions | ;Restrictions | ||
Reserved system or processor flags bits are not modified via this method, but are masked to their correct values. The selector access rights and limits cannot be modified. The flags, access rights, and limits in the DosDebug Buffer structure are updated to the actual values. | Reserved system or processor flags bits are not modified via this method, but are masked to their correct values. The selector access rights and limits cannot be modified. The flags, access rights, and limits in the DosDebug Buffer structure are updated to the actual values. | ||
[[Category:Debug Command]] |
Latest revision as of 17:10, 10 March 2020
Debug Command 6 - Write Register Set Command
- Parameters
- Pid= Process ID of debuggee
- Tid= Nonzero Thread ID of register set to write
- Cmd= DBG_C_WriteReg
The register set in the DosDebug Buffer should contain the desired values.
- Returns
TidThread ID corresponding to the register set.
All registers are updated to the stored values. The access rights, limits, and Eflags are also updated to match the current values.
An error is returned if the selectors are not accessible by user space code, or are not valid memory segments.
- Restrictions
Reserved system or processor flags bits are not modified via this method, but are masked to their correct values. The selector access rights and limits cannot be modified. The flags, access rights, and limits in the DosDebug Buffer structure are updated to the actual values.