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
598e5774
Commit
598e5774
authored
Sep 02, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Sep 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Add a couple of more traces when querying an attribute's value.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
00202652
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dwarf.c
dlls/dbghelp/dwarf.c
+5
-0
No files found.
dlls/dbghelp/dwarf.c
View file @
598e5774
...
...
@@ -550,6 +550,7 @@ static void dwarf2_fill_attr(const dwarf2_parse_context_t* ctx,
case
DW_FORM_udata
:
attr
->
u
.
uvalue
=
dwarf2_get_leb128_as_unsigned
(
data
,
NULL
);
TRACE
(
"udata<0x%lx>
\n
"
,
attr
->
u
.
uvalue
);
break
;
case
DW_FORM_string
:
...
...
@@ -567,21 +568,25 @@ static void dwarf2_fill_attr(const dwarf2_parse_context_t* ctx,
case
DW_FORM_block
:
attr
->
u
.
block
.
size
=
dwarf2_get_leb128_as_unsigned
(
data
,
&
attr
->
u
.
block
.
ptr
);
TRACE
(
"block<%p,%u>
\n
"
,
attr
->
u
.
block
.
ptr
,
attr
->
u
.
block
.
size
);
break
;
case
DW_FORM_block1
:
attr
->
u
.
block
.
size
=
dwarf2_get_byte
(
data
);
attr
->
u
.
block
.
ptr
=
data
+
1
;
TRACE
(
"block<%p,%u>
\n
"
,
attr
->
u
.
block
.
ptr
,
attr
->
u
.
block
.
size
);
break
;
case
DW_FORM_block2
:
attr
->
u
.
block
.
size
=
dwarf2_get_u2
(
data
);
attr
->
u
.
block
.
ptr
=
data
+
2
;
TRACE
(
"block<%p,%u>
\n
"
,
attr
->
u
.
block
.
ptr
,
attr
->
u
.
block
.
size
);
break
;
case
DW_FORM_block4
:
attr
->
u
.
block
.
size
=
dwarf2_get_u4
(
data
);
attr
->
u
.
block
.
ptr
=
data
+
4
;
TRACE
(
"block<%p,%u>
\n
"
,
attr
->
u
.
block
.
ptr
,
attr
->
u
.
block
.
size
);
break
;
default:
...
...
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