DBG C WriteReg: Difference between revisions
Appearance
Created page with "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 registe..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
Debug Command 6 - Write Register Set Command | {{DISPLAYTITLE:DBG_C_WriteReg}} | ||
Debug Command 6 - Write Register Set Command | |||
The register set in the DosDebug Buffer should contain the desired values. | ;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 | ;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. | |||
;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. | |||
Revision as of 14:02, 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.