From ba0ae4ebaf5ae817e05b2fa5c7943a4a92f46f5d Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Wed, 4 Aug 2004 00:17:14 +0000 Subject: [PATCH] - Don't print stack frames in NtContinue if NDEBUG is defined. svn path=/trunk/; revision=10380 --- reactos/ntoskrnl/ps/i386/continue.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ps/i386/continue.c b/reactos/ntoskrnl/ps/i386/continue.c index 5a3136d18ef..6dd5cbb3750 100644 --- a/reactos/ntoskrnl/ps/i386/continue.c +++ b/reactos/ntoskrnl/ps/i386/continue.c @@ -1,4 +1,4 @@ -/* $Id: continue.c,v 1.3 2004/07/07 08:39:53 gvg Exp $ +/* $Id: continue.c,v 1.4 2004/08/04 00:17:14 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -46,7 +46,9 @@ NtContinue ( PULONG Frame = 0; __asm__("mov %%ebp, %%ebx" : "=b" (Frame) : ); DPRINT( "NtContinue(): Ebp=%x, prev/TF=%x/%x\n", Frame, Frame[0], TrapFrame ); +#ifndef NDEBUG KeRosDumpStackFrames(NULL,5); +#endif if ( Context == NULL ) {