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
6d0948f7
Commit
6d0948f7
authored
Nov 06, 2006
by
Peter Oberndorfer
Committed by
Alexandre Julliard
Nov 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Make dwarf2_parse_line_numbers handle missing line number section.
parent
5151c81a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
dwarf.c
dlls/dbghelp/dwarf.c
+5
-0
elf_module.c
dlls/dbghelp/elf_module.c
+1
-1
No files found.
dlls/dbghelp/dwarf.c
View file @
6d0948f7
...
...
@@ -150,6 +150,7 @@ typedef struct dwarf2_debug_info_s
struct
vector
children
;
}
dwarf2_debug_info_t
;
#define NO_MAP ((const void*)0xffffffff)
typedef
struct
dwarf2_section_s
{
...
...
@@ -1595,6 +1596,10 @@ static void dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
struct
vector
files
;
const
char
**
p
;
/* section with line numbers stripped */
if
(
sections
[
section_line
].
address
==
NO_MAP
)
return
;
traverse
.
data
=
sections
[
section_line
].
address
+
offset
;
traverse
.
start_data
=
traverse
.
data
;
traverse
.
end_data
=
traverse
.
data
+
4
;
...
...
dlls/dbghelp/elf_module.c
View file @
6d0948f7
...
...
@@ -901,7 +901,7 @@ static BOOL elf_load_debug_info_from_map(struct module* module,
dw2_debug
,
fmap
->
sect
[
debug_sect
].
shdr
.
sh_size
,
dw2_debug_abbrev
,
fmap
->
sect
[
debug_abbrev_sect
].
shdr
.
sh_size
,
dw2_debug_str
,
fmap
->
sect
[
debug_str_sect
].
shdr
.
sh_size
,
dw2_debug_line
,
fmap
->
sect
[
debug_line_sect
].
shdr
.
sh_size
);
dw2_debug_line
,
dw2_debug_line
!=
NO_MAP
?
fmap
->
sect
[
debug_line_sect
].
shdr
.
sh_size
:
0
);
if
(
!
lret
)
WARN
(
"Couldn't correctly read stabs
\n
"
);
ret
=
ret
||
lret
;
...
...
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