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
8f1b861e
Commit
8f1b861e
authored
Oct 28, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repaired relay debugging for kernel and ntdll (spotted by Uwe
Bonnes).
parent
7ee2ed5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
loader.c
dlls/ntdll/loader.c
+15
-1
No files found.
dlls/ntdll/loader.c
View file @
8f1b861e
...
...
@@ -1822,7 +1822,21 @@ void WINAPI LdrInitializeThunk( HANDLE main_file, void *CreateFileW_ptr, ULONG u
SERVER_END_REQ
;
if
(
main_file
)
NtClose
(
main_file
);
/* we no longer need it */
if
(
TRACE_ON
(
relay
)
||
TRACE_ON
(
snoop
))
RELAY_InitDebugLists
();
if
(
TRACE_ON
(
relay
)
||
TRACE_ON
(
snoop
))
{
RELAY_InitDebugLists
();
if
(
TRACE_ON
(
relay
))
/* setup relay for already loaded dlls */
{
LIST_ENTRY
*
entry
,
*
mark
=
&
peb
->
LdrData
->
InLoadOrderModuleList
;
for
(
entry
=
mark
->
Flink
;
entry
!=
mark
;
entry
=
entry
->
Flink
)
{
LDR_MODULE
*
mod
=
CONTAINING_RECORD
(
entry
,
LDR_MODULE
,
InLoadOrderModuleList
);
if
(
mod
->
Flags
&
LDR_WINE_INTERNAL
)
RELAY_SetupDLL
(
mod
->
BaseAddress
);
}
}
}
RtlEnterCriticalSection
(
&
loader_section
);
...
...
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