mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
- Don't print stack frames in NtContinue if NDEBUG is defined.
svn path=/trunk/; revision=10380
This commit is contained in:
parent
d9f7a83889
commit
ba0ae4ebaf
1 changed files with 3 additions and 1 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -46,7 +46,9 @@ NtContinue (
|
||||||
PULONG Frame = 0;
|
PULONG Frame = 0;
|
||||||
__asm__("mov %%ebp, %%ebx" : "=b" (Frame) : );
|
__asm__("mov %%ebp, %%ebx" : "=b" (Frame) : );
|
||||||
DPRINT( "NtContinue(): Ebp=%x, prev/TF=%x/%x\n", Frame, Frame[0], TrapFrame );
|
DPRINT( "NtContinue(): Ebp=%x, prev/TF=%x/%x\n", Frame, Frame[0], TrapFrame );
|
||||||
|
#ifndef NDEBUG
|
||||||
KeRosDumpStackFrames(NULL,5);
|
KeRosDumpStackFrames(NULL,5);
|
||||||
|
#endif
|
||||||
|
|
||||||
if ( Context == NULL )
|
if ( Context == NULL )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue