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
8cbf2765
Commit
8cbf2765
authored
Dec 22, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix main module detection in 'info share' command.
Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
93077602
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
info.c
programs/winedbg/info.c
+8
-1
No files found.
programs/winedbg/info.c
View file @
8cbf2765
...
...
@@ -287,7 +287,14 @@ void info_win32_module(DWORD64 base, BOOL multi_machine)
if
(
!
im
.
num_used
)
return
;
machine
=
im
.
modules
[
0
].
mi
.
MachineType
;
/* main module is the first PE module in enumeration */
for
(
i
=
0
;
i
<
im
.
num_used
;
i
++
)
if
(
im
.
modules
[
i
].
ext_module_info
.
type
==
DMT_PE
)
{
machine
=
im
.
modules
[
i
].
mi
.
MachineType
;
break
;
}
if
(
i
==
im
.
num_used
)
machine
=
IMAGE_FILE_MACHINE_UNKNOWN
;
qsort
(
im
.
modules
,
im
.
num_used
,
sizeof
(
im
.
modules
[
0
]),
module_compare
);
if
(
multi_machine
)
...
...
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