mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:26:02 +00:00
Yuri Sidorov <jura@cp-lab.com>
- Properly set dwFirstChance member EXCEPTION_DEBUG_INFO structure returned by WaitForDebugEvent function. - Properly handle dwContinueStatus parameter of ContinueDebugEvent function. See issue #3393 for more details. svn path=/trunk/; revision=34111
This commit is contained in:
parent
ae7e228924
commit
558c11db56
1 changed files with 4 additions and 1 deletions
|
@ -865,6 +865,9 @@ DbgkpConvertKernelToUserStateChange(IN PDBGUI_WAIT_STATE_CHANGE WaitStateChange,
|
|||
/* Copy the exception record */
|
||||
WaitStateChange->StateInfo.Exception.ExceptionRecord =
|
||||
DebugEvent->ApiMsg.Exception.ExceptionRecord;
|
||||
/* Copy FirstChance flag */
|
||||
WaitStateChange->StateInfo.Exception.FirstChance =
|
||||
DebugEvent->ApiMsg.Exception.FirstChance;
|
||||
break;
|
||||
|
||||
/* Process exited */
|
||||
|
@ -1598,7 +1601,7 @@ NtDebugContinue(IN HANDLE DebugHandle,
|
|||
if (NeedsWake)
|
||||
{
|
||||
/* Set the continue status */
|
||||
DebugEvent->ApiMsg.ReturnedStatus = Status;
|
||||
DebugEvent->ApiMsg.ReturnedStatus = ContinueStatus;
|
||||
DebugEvent->Status = STATUS_SUCCESS;
|
||||
|
||||
/* Wake the target */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue