Author: hyperion
Date: Wed Feb 28 03:22:08 2007
New Revision: 25917
URL:
http://svn.reactos.org/svn/reactos?rev=25917&view=rev
Log:
modified include/reactos/libs/pseh/framebased.h
modified lib/pseh/framebased.c
- _SEH_ENABLE_TRACE now obsolete; _SEH_ENABLE_TRACE_LIB renamed to _SEH_ENABLE_TRACE now
that the name is available again. Yay open source development model and yay me
Modified:
trunk/reactos/include/reactos/libs/pseh/framebased.h
trunk/reactos/lib/pseh/framebased.c
Modified: trunk/reactos/include/reactos/libs/pseh/framebased.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/pseh/…
==============================================================================
--- trunk/reactos/include/reactos/libs/pseh/framebased.h (original)
+++ trunk/reactos/include/reactos/libs/pseh/framebased.h Wed Feb 28 03:22:08 2007
@@ -285,7 +285,7 @@
if(&_SEHLocals != _SEHDummyLocals) \
_SEHFrame.SEH_Locals = &_SEHLocals; \
\
- _SEH_InitializeTracing(); \
+ _SEH_EnableTracing(_SEH_DO_DEFAULT_TRACING); \
_SEHFrame.SEH_Header.SPF_Handler = _SEHCompilerSpecificHandler; \
_SEHEnterFrame(&_SEHFrame.SEH_Header, &_SEHTryLevel.ST_Header); \
} \
@@ -331,7 +331,7 @@
if(&_SEHLocals != _SEHDummyLocals) \
_SEHFrame.SEH_Locals = &_SEHLocals; \
\
- _SEH_InitializeTracing(); \
+ _SEH_EnableTracing(_SEH_DO_DEFAULT_TRACING); \
_SEHFrame.SEH_Header.SPF_Handler = 0; \
_SEHEnterFrame(&_SEHFrame.SEH_Header, &_SEHTryLevel.ST_Header); \
} \
@@ -364,12 +364,6 @@
#define _SEH_EnableTracing(LEVEL_) ((void)(_SEHPortableFrame->SPF_Tracing =
(LEVEL_)))
#define _SEH_DisableTracing() ((void)(_SEHPortableFrame->SPF_Tracing =
_SEH_DO_TRACE_NONE))
-#ifdef _SEH_ENABLE_TRACE
-#define _SEH_InitializeTracing() (_SEH_EnableTracing(_SEH_DO_DEFAULT_TRACING))
-#else
-#define _SEH_InitializeTracing() (_SEH_DisableTracing())
-#endif
-
#endif
/* EOF */
Modified: trunk/reactos/lib/pseh/framebased.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/pseh/framebased.c?rev=…
==============================================================================
--- trunk/reactos/lib/pseh/framebased.c (original)
+++ trunk/reactos/lib/pseh/framebased.c Wed Feb 28 03:22:08 2007
@@ -32,7 +32,7 @@
#include <excpt.h>
/* Tracing */
-#ifdef _SEH_ENABLE_TRACE_LIB
+#ifdef _SEH_ENABLE_TRACE
extern unsigned long __cdecl DbgPrint(const char * format, ...);
#define _SEH_TRACE_HEADER_(FRAME_) \