DBG C ReadReg: Difference between revisions
Appearance
Created page with "Debug Command 3 - Read Register Set Command ;Parameters *Pid= Process ID of debuggee *Tid= Thread ID of register set to read *Cmd= DBG_C_ReadReg If Tid is zero and the..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
Debug Command 3 - Read Register Set Command | {{DISPLAYTITLE:DBG_C_ReadReg}} | ||
Debug Command 3 - Read Register Set Command | |||
If Tid is zero and the debuggee is stopped, the register set comes from the active debuggee thread. If Tid is zero and the debuggee is executing, ERROR_INVALID_THREADID is returned. | ;Parameters | ||
*Pid= Process ID of debuggee | |||
*Tid= Thread ID of register set to read | |||
*Cmd= DBG_C_ReadReg | |||
If Tid is zero and the debuggee is stopped, the register set comes from the active debuggee thread. If Tid is zero and the debuggee is executing, ERROR_INVALID_THREADID is returned. | |||
;Returns | ;Returns | ||
The register set in the DosDebug Buffer structure is updated, including the selector information as follows: | |||
*Tid= Thread ID corresponding to the register set | |||
*MTE= Program module's MTE (Module Table Entry) handle | |||
[[Category:Debug Command]] | |||
[[Category: | |||
Latest revision as of 13:14, 10 March 2020
Debug Command 3 - Read Register Set Command
- Parameters
- Pid= Process ID of debuggee
- Tid= Thread ID of register set to read
- Cmd= DBG_C_ReadReg
If Tid is zero and the debuggee is stopped, the register set comes from the active debuggee thread. If Tid is zero and the debuggee is executing, ERROR_INVALID_THREADID is returned.
- Returns
The register set in the DosDebug Buffer structure is updated, including the selector information as follows:
- Tid= Thread ID corresponding to the register set
- MTE= Program module's MTE (Module Table Entry) handle