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
34ef8d21
Commit
34ef8d21
authored
Apr 01, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Store delta used for re-locating a module.
parent
51bce9b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+1
-0
elf_module.c
dlls/dbghelp/elf_module.c
+1
-0
module.c
dlls/dbghelp/module.c
+1
-0
No files found.
dlls/dbghelp/dbghelp_private.h
View file @
34ef8d21
...
...
@@ -353,6 +353,7 @@ struct module
struct
module
*
next
;
enum
module_type
type
:
16
;
unsigned
short
is_virtual
:
1
;
DWORD64
reloc_delta
;
/* specific information for debug types */
struct
module_format
*
format_info
[
DFI_LAST
];
...
...
dlls/dbghelp/elf_module.c
View file @
34ef8d21
...
...
@@ -1080,6 +1080,7 @@ static BOOL elf_load_file(struct process* pcs, const WCHAR* filename,
HeapFree
(
GetProcessHeap
(),
0
,
modfmt
);
goto
leave
;
}
elf_info
->
module
->
reloc_delta
=
elf_info
->
module
->
module
.
BaseOfImage
-
fmap
.
u
.
elf
.
elf_start
;
elf_module_info
=
(
void
*
)(
modfmt
+
1
);
elf_info
->
module
->
format_info
[
DFI_ELF
]
=
modfmt
;
modfmt
->
module
=
elf_info
->
module
;
...
...
dlls/dbghelp/module.c
View file @
34ef8d21
...
...
@@ -167,6 +167,7 @@ struct module* module_new(struct process* pcs, const WCHAR* name,
module
->
module
.
SourceIndexed
=
FALSE
;
module
->
module
.
Publics
=
FALSE
;
module
->
reloc_delta
=
0
;
module
->
type
=
type
;
module
->
is_virtual
=
virtual
?
TRUE
:
FALSE
;
for
(
i
=
0
;
i
<
DFI_LAST
;
i
++
)
module
->
format_info
[
i
]
=
NULL
;
...
...
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