Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
582f5a2d
Commit
582f5a2d
authored
Nov 18, 2013
by
Jakub Jelinek
Committed by
Jakub Jelinek
Nov 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* elf.c (phdr_callback): Process info->dlpi_addr == 0 normally.
From-SVN: r204971
parent
aadce585
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
libbacktrace/ChangeLog
+4
-0
libbacktrace/elf.c
+2
-6
No files found.
libbacktrace/ChangeLog
View file @
582f5a2d
2013-11-18 Jakub Jelinek <jakub@redhat.com>
* elf.c (phdr_callback): Process info->dlpi_addr == 0 normally.
2013-11-16 Ian Lance Taylor <iant@google.com>
* backtrace.h (backtrace_create_state): Correct comment about
...
...
libbacktrace/elf.c
View file @
582f5a2d
...
...
@@ -863,12 +863,8 @@ phdr_callback (struct dl_phdr_info *info, size_t size ATTRIBUTE_UNUSED,
fileline
elf_fileline_fn
;
int
found_dwarf
;
/* There is not much we can do if we don't have the module name. If
the base address is 0, this is probably the executable, which we
already loaded. */
if
(
info
->
dlpi_name
==
NULL
||
info
->
dlpi_name
[
0
]
==
'\0'
||
info
->
dlpi_addr
==
0
)
/* There is not much we can do if we don't have the module name. */
if
(
info
->
dlpi_name
==
NULL
||
info
->
dlpi_name
[
0
]
==
'\0'
)
return
0
;
descriptor
=
backtrace_open
(
info
->
dlpi_name
,
pd
->
error_callback
,
pd
->
data
,
...
...
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