[ros-diffs] [fireball] 34111: Yuri Sidorov <jura at 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.
fireball at svn.reactos.org
fireball at svn.reactos.org
Thu Jun 26 21:16:59 CEST 2008
Author: fireball
Date: Thu Jun 26 14:16:59 2008
New Revision: 34111
URL: http://svn.reactos.org/svn/reactos?rev=34111&view=rev
Log:
Yuri Sidorov <jura at 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.
Modified:
trunk/reactos/ntoskrnl/dbgk/dbgkobj.c
Modified: trunk/reactos/ntoskrnl/dbgk/dbgkobj.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/dbgk/dbgkobj.c?rev=34111&r1=34110&r2=34111&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/dbgk/dbgkobj.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/dbgk/dbgkobj.c [iso-8859-1] Thu Jun 26 14:16:59 2008
@@ -865,6 +865,9 @@
/* 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 @@
if (NeedsWake)
{
/* Set the continue status */
- DebugEvent->ApiMsg.ReturnedStatus = Status;
+ DebugEvent->ApiMsg.ReturnedStatus = ContinueStatus;
DebugEvent->Status = STATUS_SUCCESS;
/* Wake the target */
More information about the Ros-diffs
mailing list