mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
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 svn path=/trunk/; revision=25917
This commit is contained in:
parent
d04dfa5357
commit
f007c58ba9
2 changed files with 3 additions and 9 deletions
|
@ -285,7 +285,7 @@ static _SEHPortableFrame_t * const _SEHPortableFrame = 0;
|
|||
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 @@ static _SEHPortableFrame_t * const _SEHPortableFrame = 0;
|
|||
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 @@ static _SEHPortableFrame_t * const _SEHPortableFrame = 0;
|
|||
#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 */
|
||||
|
|
|
@ -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_) \
|
||||
|
|
Loading…
Reference in a new issue