diff options
-rw-r--r-- | libbacktrace/ChangeLog | 5 | ||||
-rw-r--r-- | libbacktrace/elf.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 2fd4e8a3e63..1f1d21e4829 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -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> * alloc.c: #include <sys/types.h>. diff --git a/libbacktrace/elf.c b/libbacktrace/elf.c index ef9bcdfb495..36761899458 100644 --- a/libbacktrace/elf.c +++ b/libbacktrace/elf.c @@ -862,7 +862,7 @@ backtrace_initialize (struct backtrace_state *state, int descriptor, pd.state = state; pd.error_callback = error_callback; pd.data = data; - pd.fileline_fn = fileline_fn; + pd.fileline_fn = &elf_fileline_fn; pd.found_sym = &found_sym; pd.found_dwarf = &found_dwarf; |