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
e37ff84e
Commit
e37ff84e
authored
Feb 18, 2007
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Return when not finding the name.
parent
abe1ede3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
dwarf.c
dlls/dbghelp/dwarf.c
+5
-3
No files found.
dlls/dbghelp/dwarf.c
View file @
e37ff84e
...
...
@@ -1203,7 +1203,7 @@ static void dwarf2_parse_enumerator(dwarf2_parse_context_t* ctx,
TRACE
(
"%s, for %s
\n
"
,
dwarf2_debug_ctx
(
ctx
),
dwarf2_debug_di
(
di
));
if
(
!
dwarf2_find_attribute
(
ctx
,
di
,
DW_AT_name
,
&
name
))
name
.
u
.
string
=
NULL
;
if
(
!
dwarf2_find_attribute
(
ctx
,
di
,
DW_AT_name
,
&
name
))
return
;
if
(
!
dwarf2_find_attribute
(
ctx
,
di
,
DW_AT_const_value
,
&
value
))
value
.
u
.
svalue
=
0
;
symt_add_enum_element
(
ctx
->
module
,
parent
,
name
.
u
.
string
,
value
.
u
.
svalue
);
...
...
@@ -1278,8 +1278,10 @@ static void dwarf2_parse_variable(dwarf2_subprogram_t* subpgm,
is_pmt
=
!
block
&&
di
->
abbrev
->
tag
==
DW_TAG_formal_parameter
;
param_type
=
dwarf2_lookup_type
(
subpgm
->
ctx
,
di
);
if
(
!
dwarf2_find_attribute
(
subpgm
->
ctx
,
di
,
DW_AT_name
,
&
name
))
name
.
u
.
string
=
NULL
;
if
(
!
dwarf2_find_attribute
(
subpgm
->
ctx
,
di
,
DW_AT_name
,
&
name
))
{
/* cannot do much without the name, the functions below won't like it. */
return
;
}
if
(
dwarf2_compute_location_attr
(
subpgm
->
ctx
,
di
,
DW_AT_location
,
&
loc
,
&
subpgm
->
frame
))
{
...
...
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