Use "CALL" and "RET" in capital letters for distinction.

This commit is contained in:
Uwe Bonnes 2000-06-07 02:02:01 +00:00 committed by Alexandre Julliard
parent 6ce34254d0
commit e82e7d96e1
2 changed files with 6 additions and 6 deletions

View File

@ -260,7 +260,7 @@ void WINAPI SNOOP16_Entry(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
CS_reg(context) = HIWORD(fun->origfun); CS_reg(context) = HIWORD(fun->origfun);
DPRINTF("Call %s.%ld: %s(",dll->name,ordinal,fun->name); DPRINTF("CALL %s.%ld: %s(",dll->name,ordinal,fun->name);
if (fun->nrofargs>0) { if (fun->nrofargs>0) {
max = fun->nrofargs; max = fun->nrofargs;
if (max>16) max=16; if (max>16) max=16;
@ -292,7 +292,7 @@ void WINAPI SNOOP16_Return(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
if (ret->args) { if (ret->args) {
int i,max; int i,max;
DPRINTF("Ret %s.%ld: %s(",ret->dll->name,ret->ordinal,ret->dll->funs[ret->ordinal].name); DPRINTF("RET %s.%ld: %s(",ret->dll->name,ret->ordinal,ret->dll->funs[ret->ordinal].name);
max = ret->dll->funs[ret->ordinal].nrofargs; max = ret->dll->funs[ret->ordinal].nrofargs;
if (max>16) if (max>16)
max=16; max=16;
@ -309,7 +309,7 @@ void WINAPI SNOOP16_Return(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
HeapFree(GetProcessHeap(),0,ret->args); HeapFree(GetProcessHeap(),0,ret->args);
ret->args = NULL; ret->args = NULL;
} else } else
DPRINTF("Ret %s.%ld: %s() retval = %04x:%04x ret=%04x:%04x\n", DPRINTF("RET %s.%ld: %s() retval = %04x:%04x ret=%04x:%04x\n",
ret->dll->name,ret->ordinal,ret->dll->funs[ret->ordinal].name, ret->dll->name,ret->ordinal,ret->dll->funs[ret->ordinal].name,
DX_reg(context),AX_reg(context),HIWORD(ret->origreturn),LOWORD(ret->origreturn) DX_reg(context),AX_reg(context),HIWORD(ret->origreturn),LOWORD(ret->origreturn)
); );

View File

@ -332,7 +332,7 @@ void WINAPI SNOOP_DoEntry( CONTEXT86 *context )
EIP_reg(context)= (DWORD)fun->origfun; EIP_reg(context)= (DWORD)fun->origfun;
DPRINTF("Call %s.%ld: %s(",dll->name,ordinal,fun->name); DPRINTF("CALL %s.%ld: %s(",dll->name,ordinal,fun->name);
if (fun->nrofargs>0) { if (fun->nrofargs>0) {
max = fun->nrofargs; if (max>16) max=16; max = fun->nrofargs; if (max>16) max=16;
for (i=0;i<max;i++) for (i=0;i<max;i++)
@ -364,7 +364,7 @@ void WINAPI SNOOP_DoReturn( CONTEXT86 *context )
if (ret->args) { if (ret->args) {
int i,max; int i,max;
DPRINTF("Ret %s.%ld: %s(",ret->dll->name,ret->ordinal,ret->dll->funs[ret->ordinal].name); DPRINTF("RET %s.%ld: %s(",ret->dll->name,ret->ordinal,ret->dll->funs[ret->ordinal].name);
max = ret->dll->funs[ret->ordinal].nrofargs; max = ret->dll->funs[ret->ordinal].nrofargs;
if (max>16) max=16; if (max>16) max=16;
@ -376,7 +376,7 @@ void WINAPI SNOOP_DoReturn( CONTEXT86 *context )
HeapFree(GetProcessHeap(),0,ret->args); HeapFree(GetProcessHeap(),0,ret->args);
ret->args = NULL; ret->args = NULL;
} else } else
DPRINTF("Ret %s.%ld: %s() retval = %08lx ret=%08lx fs=%04lx\n", DPRINTF("RET %s.%ld: %s() retval = %08lx ret=%08lx fs=%04lx\n",
ret->dll->name,ret->ordinal,ret->dll->funs[ret->ordinal].name, ret->dll->name,ret->ordinal,ret->dll->funs[ret->ordinal].name,
EAX_reg(context),(DWORD)ret->origreturn,FS_reg(context) EAX_reg(context),(DWORD)ret->origreturn,FS_reg(context)
); );