elf.c (backtrace_initialize): Pass elf_fileline_fn to dl_iterate_phdr callbacks.

* elf.c (backtrace_initialize): Pass elf_fileline_fn to
	dl_iterate_phdr callbacks.

From-SVN: r201158
This commit is contained in:
Alexander Monakov 2013-07-23 13:12:00 +04:00 committed by Alexander Monakov
parent 902a3fafbe
commit 0153887c3d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-07-23 Alexander Monakov <amonakov@ispras.ru>
* elf.c (backtrace_initialize): Pass elf_fileline_fn to
dl_iterate_phdr callbacks.
2013-03-25 Ian Lance Taylor <iant@google.com> 2013-03-25 Ian Lance Taylor <iant@google.com>
* alloc.c: #include <sys/types.h>. * alloc.c: #include <sys/types.h>.

View File

@ -862,7 +862,7 @@ backtrace_initialize (struct backtrace_state *state, int descriptor,
pd.state = state; pd.state = state;
pd.error_callback = error_callback; pd.error_callback = error_callback;
pd.data = data; pd.data = data;
pd.fileline_fn = fileline_fn; pd.fileline_fn = &elf_fileline_fn;
pd.found_sym = &found_sym; pd.found_sym = &found_sym;
pd.found_dwarf = &found_dwarf; pd.found_dwarf = &found_dwarf;