Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9768ea56
Commit
9768ea56
authored
Sep 28, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Sep 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp/dwarf: Bump max supported version (by default) up to 4.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
56969bc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
dwarf.c
dlls/dbghelp/dwarf.c
+4
-8
No files found.
dlls/dbghelp/dwarf.c
View file @
9768ea56
...
...
@@ -2710,18 +2710,14 @@ static BOOL dwarf2_parse_compilation_unit_head(dwarf2_parse_context_t* ctx,
if
(
max_supported_dwarf_version
==
0
)
{
char
*
env
=
getenv
(
"DBGHELP_DWARF_VERSION"
);
LONG
v
=
env
?
atol
(
env
)
:
2
;
max_supported_dwarf_version
=
(
v
>=
2
&&
v
<=
4
)
?
v
:
2
;
LONG
v
=
env
?
atol
(
env
)
:
4
;
max_supported_dwarf_version
=
(
v
>=
2
&&
v
<=
4
)
?
v
:
4
;
}
if
(
ctx
->
head
.
version
<
2
||
ctx
->
head
.
version
>
max_supported_dwarf_version
)
{
if
(
max_supported_dwarf_version
>
2
)
WARN
(
"%u DWARF version unsupported. Wine dbghelp only support DWARF 2 up to %u.
\n
"
,
ctx
->
head
.
version
,
max_supported_dwarf_version
);
else
WARN
(
"%u DWARF version unsupported. Wine dbghelp only support DWARF 2.
\n
"
,
ctx
->
head
.
version
);
WARN
(
"DWARF version %d isn't supported. Wine dbghelp only supports DWARF 2 up to %u.
\n
"
,
ctx
->
head
.
version
,
max_supported_dwarf_version
);
return
FALSE
;
}
...
...
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