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
5b61db41
Commit
5b61db41
authored
Nov 24, 2006
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Correctly store the addresses of blocks.
They are stored internally as offsets to the start of the function which embeds the block.
parent
31f4f1b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
dwarf.c
dlls/dbghelp/dwarf.c
+4
-2
No files found.
dlls/dbghelp/dwarf.c
View file @
5b61db41
...
...
@@ -1354,7 +1354,8 @@ static void dwarf2_parse_inlined_subroutine(dwarf2_subprogram_t* subpgm,
if
(
!
dwarf2_find_attribute
(
subpgm
->
ctx
,
di
,
DW_AT_high_pc
,
&
high_pc
))
high_pc
.
u
.
uvalue
=
0
;
block
=
symt_open_func_block
(
subpgm
->
ctx
->
module
,
subpgm
->
func
,
parent_block
,
low_pc
.
u
.
uvalue
,
high_pc
.
u
.
uvalue
-
low_pc
.
u
.
uvalue
);
subpgm
->
ctx
->
module
->
module
.
BaseOfImage
+
low_pc
.
u
.
uvalue
-
subpgm
->
func
->
address
,
high_pc
.
u
.
uvalue
-
low_pc
.
u
.
uvalue
);
if
(
di
->
abbrev
->
have_child
)
/** any interest to not have child ? */
{
...
...
@@ -1406,7 +1407,8 @@ static void dwarf2_parse_subprogram_block(dwarf2_subprogram_t* subpgm,
high_pc
.
u
.
uvalue
=
0
;
block
=
symt_open_func_block
(
subpgm
->
ctx
->
module
,
subpgm
->
func
,
parent_block
,
low_pc
.
u
.
uvalue
,
high_pc
.
u
.
uvalue
-
low_pc
.
u
.
uvalue
);
subpgm
->
ctx
->
module
->
module
.
BaseOfImage
+
low_pc
.
u
.
uvalue
-
subpgm
->
func
->
address
,
high_pc
.
u
.
uvalue
-
low_pc
.
u
.
uvalue
);
if
(
di
->
abbrev
->
have_child
)
/** any interest to not have child ? */
{
...
...
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