Avoid SEH messages caused SNOOPimg

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sun Mar 9 12:42:40 CST 2003


Changelog
	relay32/snoop.c: SNOOP_PrintArg
	Don't try to decipher snoop args when seh chanel is on


This avoids cluttering the log.
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/relay32/snoop.c
===================================================================
RCS file: /home/wine/wine/relay32/snoop.c,v
retrieving revision 1.61
diff -u -r1.61 snoop.c
--- wine/relay32/snoop.c	18 Feb 2003 23:29:47 -0000	1.61
+++ wine/relay32/snoop.c	9 Mar 2003 18:38:28 -0000
@@ -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 @@
     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;



More information about the wine-patches mailing list