]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* elf.c (backtrace_initialize): Pass elf_fileline_fn to
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jul 2013 09:12:00 +0000 (09:12 +0000)
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jul 2013 09:12:00 +0000 (09:12 +0000)
dl_iterate_phdr callbacks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201158 138bc75d-0d04-0410-961f-82ee72b054a4

libbacktrace/ChangeLog
libbacktrace/elf.c

index 2fd4e8a3e6369757ab5fcc6c0ffcfb21da42e5c0..1f1d21e4829d7aee7bbd0e21051ddd13cb37472b 100644 (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>
 
        * alloc.c: #include <sys/types.h>.
index ef9bcdfb495d935069ed5bd15ed221341f22c441..36761899458b6859ea42a8fbd0a970442f72812c 100644 (file)
@@ -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;