summaryrefslogtreecommitdiff
path: root/libbacktrace
diff options
context:
space:
mode:
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-07-23 09:12:00 +0000
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-07-23 09:12:00 +0000
commit5d62aeb5056799ce6dec46b0fb6ba9ac4516f198 (patch)
treea03257ab5c4e9455f2932aecc54952f05b5c8fe1 /libbacktrace
parente6270f6ff6bc097f9431084a109b767c5c4d1373 (diff)
downloadgcc-5d62aeb5056799ce6dec46b0fb6ba9ac4516f198.tar.gz
* elf.c (backtrace_initialize): Pass elf_fileline_fn to
dl_iterate_phdr callbacks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201158 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/ChangeLog5
-rw-r--r--libbacktrace/elf.c2
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;