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
6a1b2a9c
Commit
6a1b2a9c
authored
Oct 03, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Enhance support for constant values in dwarf debug information.
parent
dcf68254
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
dwarf.c
dlls/dbghelp/dwarf.c
+13
-1
symbol.c
dlls/dbghelp/symbol.c
+1
-0
No files found.
dlls/dbghelp/dwarf.c
View file @
6a1b2a9c
...
...
@@ -1393,12 +1393,24 @@ static void dwarf2_parse_variable(dwarf2_subprogram_t* subpgm,
v
.
n1
.
n2
.
n3
.
byref
=
pool_strdup
(
&
subpgm
->
ctx
->
module
->
pool
,
value
.
u
.
string
);
break
;
case
DW_FORM_data8
:
case
DW_FORM_block
:
case
DW_FORM_block1
:
case
DW_FORM_block2
:
case
DW_FORM_block4
:
v
.
n1
.
n2
.
vt
=
VT_I4
;
switch
(
value
.
u
.
block
.
size
)
{
case
1
:
v
.
n1
.
n2
.
n3
.
lVal
=
*
(
BYTE
*
)
value
.
u
.
block
.
ptr
;
break
;
case
2
:
v
.
n1
.
n2
.
n3
.
lVal
=
*
(
USHORT
*
)
value
.
u
.
block
.
ptr
;
break
;
case
4
:
v
.
n1
.
n2
.
n3
.
lVal
=
*
(
DWORD
*
)
value
.
u
.
block
.
ptr
;
break
;
default:
v
.
n1
.
n2
.
vt
=
VT_I1
|
VT_BYREF
;
v
.
n1
.
n2
.
n3
.
byref
=
pool_alloc
(
&
subpgm
->
ctx
->
module
->
pool
,
value
.
u
.
block
.
size
);
memcpy
(
v
.
n1
.
n2
.
n3
.
byref
,
value
.
u
.
block
.
ptr
,
value
.
u
.
block
.
size
);
}
break
;
case
DW_FORM_data8
:
default:
FIXME
(
"Unsupported form for const value %s (%lx)
\n
"
,
name
.
u
.
string
,
value
.
form
);
...
...
dlls/dbghelp/symbol.c
View file @
6a1b2a9c
...
...
@@ -703,6 +703,7 @@ static void symt_fill_sym_info(const struct module_pair* pair,
case
VT_UI2
:
sym_info
->
Value
=
(
ULONG
)
data
->
u
.
value
.
n1
.
n2
.
n3
.
uiVal
;
break
;
case
VT_UI1
:
sym_info
->
Value
=
(
ULONG
)
data
->
u
.
value
.
n1
.
n2
.
n3
.
bVal
;
break
;
case
VT_I1
|
VT_BYREF
:
sym_info
->
Value
=
(
ULONG
)
data
->
u
.
value
.
n1
.
n2
.
n3
.
byref
;
break
;
case
VT_EMPTY
:
sym_info
->
Value
=
0
;
break
;
default:
FIXME
(
"Unsupported variant type (%u)
\n
"
,
data
->
u
.
value
.
n1
.
n2
.
vt
);
sym_info
->
Value
=
0
;
...
...
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