Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d72e6ac7
Commit
d72e6ac7
authored
Nov 08, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Attach a struct cpu* to every module.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e105e9d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+3
-0
module.c
dlls/dbghelp/module.c
+3
-0
No files found.
dlls/dbghelp/dbghelp_private.h
View file @
d72e6ac7
...
...
@@ -430,6 +430,8 @@ struct module_format
}
u
;
};
struct
cpu
;
struct
module
{
struct
process
*
process
;
...
...
@@ -438,6 +440,7 @@ struct module
struct
module
*
next
;
enum
module_type
type
:
16
;
unsigned
short
is_virtual
:
1
;
struct
cpu
*
cpu
;
DWORD64
reloc_delta
;
WCHAR
*
real_path
;
...
...
dlls/dbghelp/module.c
View file @
d72e6ac7
...
...
@@ -230,6 +230,9 @@ struct module* module_new(struct process* pcs, const WCHAR* name,
module
->
addr_sorttab
=
NULL
;
module
->
num_sorttab
=
0
;
module
->
num_symbols
=
0
;
module
->
cpu
=
cpu_find
(
machine
);
if
(
!
module
->
cpu
)
module
->
cpu
=
dbghelp_current_cpu
;
vector_init
(
&
module
->
vsymt
,
sizeof
(
struct
symt
*
),
128
);
vector_init
(
&
module
->
vcustom_symt
,
sizeof
(
struct
symt
*
),
16
);
...
...
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