PATCH: drop relay stuff
Marcus Meissner
marcus at jet.franken.de
Tue Apr 24 14:33:16 CDT 2001
Hi,
Changelog:
Drop SYSLEVEL checks from relay debugging, since they break debugging
builtin GDI dlls.
Index: relay386.c
===================================================================
RCS file: /home/wine/wine/relay32/relay386.c,v
retrieving revision 1.33
diff -u -r1.33 relay386.c
--- relay386.c 2001/04/09 18:47:10 1.33
+++ relay386.c 2001/04/24 20:36:50
@@ -188,10 +190,6 @@
DPRINTF( ") ret=%08x tid=%08lx\n", ret_addr, GetCurrentThreadId() );
ret64 = (relay->argtypes & 0x80000000) && (nb_args < 16);
- /* the user driver functions may be called with the window lock held */
- if (memcmp( buffer, "x11drv.", 7 ) && memcmp( buffer, "ttydrv.", 7 ))
- SYSLEVEL_CheckNotLevel( 2 );
-
if (relay->ret == 0xc3) /* cdecl */
{
LONGLONG (*cfunc)() = relay->orig;
@@ -285,9 +283,7 @@
DPRINTF( "Ret %s() retval=%08x ret=%08x tid=%08lx\n",
buffer, (UINT)ret, ret_addr, GetCurrentThreadId() );
- if (memcmp( buffer, "x11drv.", 7 ) && memcmp( buffer, "ttydrv.", 7 ))
- SYSLEVEL_CheckNotLevel( 2 );
-
+ __restore_flags(flags);
return ret;
}
@@ -339,8 +335,6 @@
context->Ebp, context->Esp, context->SegDs,
context->SegEs, context->SegGs, context->EFlags );
- SYSLEVEL_CheckNotLevel( 2 );
-
/* Now call the real function */
switch(nb_args)
{
@@ -383,8 +377,6 @@
DPRINTF(" ebp=%08lx esp=%08lx ds=%04lx es=%04lx gs=%04lx flags=%08lx\n",
context->Ebp, context->Esp, context->SegDs,
context->SegEs, context->SegGs, context->EFlags );
-
- SYSLEVEL_CheckNotLevel( 2 );
}
void WINAPI RELAY_CallFrom32Regs(void);
More information about the wine-patches
mailing list