Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
73ed82c3
Commit
73ed82c3
authored
May 27, 2004
by
Rein Klazes
Committed by
Alexandre Julliard
May 27, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the missing tread ID of some snoop return traces.
parent
a6e8430a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
snoop16.c
dlls/kernel/snoop16.c
+7
-13
No files found.
dlls/kernel/snoop16.c
View file @
73ed82c3
...
...
@@ -323,12 +323,12 @@ void WINAPI SNOOP16_Return(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
}
context
->
Eip
=
LOWORD
(
ret
->
origreturn
);
context
->
SegCs
=
HIWORD
(
ret
->
origreturn
);
DPRINTF
(
"%04lx:RET %s.%ld: %s("
,
GetCurrentThreadId
(),
ret
->
dll
->
name
,
ret
->
ordinal
,
ret
->
dll
->
funs
[
ret
->
ordinal
].
name
);
if
(
ret
->
args
)
{
int
i
,
max
;
DPRINTF
(
"%04lx:RET %s.%ld: %s("
,
GetCurrentThreadId
(),
ret
->
dll
->
name
,
ret
->
ordinal
,
ret
->
dll
->
funs
[
ret
->
ordinal
].
name
);
max
=
ret
->
dll
->
funs
[
ret
->
ordinal
].
nrofargs
;
if
(
max
>
16
)
max
=
16
;
...
...
@@ -339,18 +339,12 @@ void WINAPI SNOOP16_Return(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
DPRINTF
(
"%04x%s"
,
ret
->
args
[
i
],
i
?
","
:
""
);
if
(
max
!=
ret
->
dll
->
funs
[
ret
->
ordinal
].
nrofargs
)
DPRINTF
(
" ..."
);
DPRINTF
(
") retval = %04x:%04x ret=%04x:%04x
\n
"
,
(
WORD
)
context
->
Edx
,(
WORD
)
context
->
Eax
,
HIWORD
(
ret
->
origreturn
),
LOWORD
(
ret
->
origreturn
)
);
HeapFree
(
GetProcessHeap
(),
0
,
ret
->
args
);
ret
->
args
=
NULL
;
}
else
DPRINTF
(
"RET %s.%ld: %s() retval = %04x:%04x ret=%04x:%04x
\n
"
,
ret
->
dll
->
name
,
ret
->
ordinal
,
ret
->
dll
->
funs
[
ret
->
ordinal
].
name
,
(
WORD
)
context
->
Edx
,(
WORD
)
context
->
Eax
,
HIWORD
(
ret
->
origreturn
),
LOWORD
(
ret
->
origreturn
)
);
}
DPRINTF
(
") retval = %04x:%04x ret=%04x:%04x
\n
"
,
(
WORD
)
context
->
Edx
,(
WORD
)
context
->
Eax
,
HIWORD
(
ret
->
origreturn
),
LOWORD
(
ret
->
origreturn
));
ret
->
origreturn
=
NULL
;
/* mark as empty */
}
#else
/* !__i386__ */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment