From bfbb47d39ec72c753e2b422d107ef21aca8db5fe Mon Sep 17 00:00:00 2001 From: Gregor Anich Date: Thu, 2 Dec 2004 01:33:02 +0000 Subject: [PATCH] Fixed handling of exceptions in memory read/write functions, moved ASSERT(0) to the right place. svn path=/trunk/; revision=11898 --- reactos/ntoskrnl/kd/gdbstub.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/kd/gdbstub.c b/reactos/ntoskrnl/kd/gdbstub.c index 4d808784d16..bc7258f1377 100644 --- a/reactos/ntoskrnl/kd/gdbstub.c +++ b/reactos/ntoskrnl/kd/gdbstub.c @@ -1410,11 +1410,12 @@ KdEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord, /* reply to the request */ GspPutPacket (&GspOutBuffer[0]); } + + /* not reached */ + ASSERT(0); } - /* not reached */ - ASSERT(0); - return kdHandleException; + return kdDoNotHandleException; }