Drop SYSLEVEL checks from relay debugging, since they break debugging
builtin GDI dlls.
This commit is contained in:
parent
fceb19ff8e
commit
391fdec8d1
|
@ -12,7 +12,6 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "winnt.h"
|
#include "winnt.h"
|
||||||
#include "stackframe.h"
|
#include "stackframe.h"
|
||||||
#include "syslevel.h"
|
|
||||||
#include "module.h"
|
#include "module.h"
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
|
|
||||||
|
@ -188,10 +187,6 @@ static LONGLONG RELAY_CallFrom32( int ret_addr, ... )
|
||||||
DPRINTF( ") ret=%08x tid=%08lx\n", ret_addr, GetCurrentThreadId() );
|
DPRINTF( ") ret=%08x tid=%08lx\n", ret_addr, GetCurrentThreadId() );
|
||||||
ret64 = (relay->argtypes & 0x80000000) && (nb_args < 16);
|
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 */
|
if (relay->ret == 0xc3) /* cdecl */
|
||||||
{
|
{
|
||||||
LONGLONG (*cfunc)() = relay->orig;
|
LONGLONG (*cfunc)() = relay->orig;
|
||||||
|
@ -285,9 +280,6 @@ static LONGLONG RELAY_CallFrom32( int ret_addr, ... )
|
||||||
DPRINTF( "Ret %s() retval=%08x ret=%08x tid=%08lx\n",
|
DPRINTF( "Ret %s() retval=%08x ret=%08x tid=%08lx\n",
|
||||||
buffer, (UINT)ret, ret_addr, GetCurrentThreadId() );
|
buffer, (UINT)ret, ret_addr, GetCurrentThreadId() );
|
||||||
|
|
||||||
if (memcmp( buffer, "x11drv.", 7 ) && memcmp( buffer, "ttydrv.", 7 ))
|
|
||||||
SYSLEVEL_CheckNotLevel( 2 );
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -339,8 +331,6 @@ void WINAPI RELAY_DoCallFrom32Regs( CONTEXT86 *context )
|
||||||
context->Ebp, context->Esp, context->SegDs,
|
context->Ebp, context->Esp, context->SegDs,
|
||||||
context->SegEs, context->SegGs, context->EFlags );
|
context->SegEs, context->SegGs, context->EFlags );
|
||||||
|
|
||||||
SYSLEVEL_CheckNotLevel( 2 );
|
|
||||||
|
|
||||||
/* Now call the real function */
|
/* Now call the real function */
|
||||||
switch(nb_args)
|
switch(nb_args)
|
||||||
{
|
{
|
||||||
|
@ -383,8 +373,6 @@ void WINAPI RELAY_DoCallFrom32Regs( CONTEXT86 *context )
|
||||||
DPRINTF(" ebp=%08lx esp=%08lx ds=%04lx es=%04lx gs=%04lx flags=%08lx\n",
|
DPRINTF(" ebp=%08lx esp=%08lx ds=%04lx es=%04lx gs=%04lx flags=%08lx\n",
|
||||||
context->Ebp, context->Esp, context->SegDs,
|
context->Ebp, context->Esp, context->SegDs,
|
||||||
context->SegEs, context->SegGs, context->EFlags );
|
context->SegEs, context->SegGs, context->EFlags );
|
||||||
|
|
||||||
SYSLEVEL_CheckNotLevel( 2 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void WINAPI RELAY_CallFrom32Regs(void);
|
void WINAPI RELAY_CallFrom32Regs(void);
|
||||||
|
|
Loading…
Reference in New Issue