Drop SYSLEVEL checks from relay debugging, since they break debugging
builtin GDI dlls.
diff --git a/relay32/relay386.c b/relay32/relay386.c
index d4e251b..276833f 100644
--- a/relay32/relay386.c
+++ b/relay32/relay386.c
@@ -12,7 +12,6 @@
#include "config.h"
#include "winnt.h"
#include "stackframe.h"
-#include "syslevel.h"
#include "module.h"
#include "debugtools.h"
@@ -188,10 +187,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 +280,6 @@
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 );
-
return ret;
}
@@ -339,8 +331,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 +373,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);