From e658ee55031482ce6a0724f5ba89efbe952cc1e5 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Mon, 10 Mar 2003 19:05:27 +0000 Subject: [PATCH] SNOOP_PrintArg: don't try to decipher snoop args when seh chanel is on. --- relay32/snoop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/relay32/snoop.c b/relay32/snoop.c index c03b0278459..0cc471283d5 100644 --- a/relay32/snoop.c +++ b/relay32/snoop.c @@ -34,6 +34,7 @@ #include "excpt.h" WINE_DEFAULT_DEBUG_CHANNEL(snoop); +WINE_DECLARE_DEBUG_CHANNEL(seh); static WINE_EXCEPTION_FILTER(page_fault) { @@ -216,7 +217,7 @@ static void SNOOP_PrintArg(DWORD x) int i,nostring; DPRINTF("%08lx",x); - if ( !HIWORD(x) ) return; /* trivial reject to avoid faults */ + if (!HIWORD(x) || TRACE_ON(seh)) return; /* trivial reject to avoid faults */ __TRY { LPBYTE s=(LPBYTE)x;