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
0e345d6c
Commit
0e345d6c
authored
Sep 28, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Sep 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix container for global variables (Dwarf).
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
a523361b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dwarf.c
dlls/dbghelp/dwarf.c
+2
-1
No files found.
dlls/dbghelp/dwarf.c
View file @
0e345d6c
...
...
@@ -1997,7 +1997,8 @@ static void dwarf2_parse_variable(dwarf2_subprogram_t* subpgm,
if
(
!
dwarf2_find_attribute
(
di
,
DW_AT_external
,
&
ext
))
ext
.
u
.
uvalue
=
0
;
loc
.
offset
+=
subpgm
->
ctx
->
module_ctx
->
load_offset
;
symt_new_global_variable
(
subpgm
->
ctx
->
module_ctx
->
module
,
subpgm
->
ctx
->
compiland
,
symt_new_global_variable
(
subpgm
->
ctx
->
module_ctx
->
module
,
ext
.
u
.
uvalue
?
NULL
:
subpgm
->
ctx
->
compiland
,
dwarf2_get_cpp_name
(
di
,
name
.
u
.
string
),
!
ext
.
u
.
uvalue
,
loc
,
0
,
param_type
);
break
;
...
...
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