1 2019-09-26 Ian Lance Taylor <iant@golang.org>
4 * pecoff.c (backtrace_initialize): Explicitly cast unchecked
5 __sync_bool_compare_and_swap to void.
6 * xcoff.c (backtrace_initialize): Likewise.
8 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
10 * configure.ac: Remove references to spu.
11 * configure: Regenerate.
13 2019-05-24 Clement Chigot <clement.chigot@atos.net>
15 * Makefile.am (BUILDTESTS): Remove test_elf, add test_elf_32 and
17 * Makefile.in: Regenerate.
19 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
21 * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
23 * configure: Regenerate.
25 2019-03-11 Ian Lance Taylor <iant@golang.org>
28 * Makefile.am (BUILDTESTS): Only add ztest and ztest_alloc if
30 * Makefile.in: Regenerate.
32 2019-02-26 Tom de Vries <tdevries@suse.de>
34 * btest.c (test5): Allow global.* as minimal symbol name for global.
36 2019-02-26 Tom de Vries <tdevries@suse.de>
38 * Makefile.am (TESTS): Only add b3test_dwz_buildid if HAVE_DWZ.
39 * Makefile.in: Regenerate.
41 2019-02-12 Tom de Vries <tdevries@suse.de>
44 * dwarf.c (dwarf_lookup_pc): Don't call bsearch if nmemb == 0.
46 2019-02-10 Tom de Vries <tdevries@suse.de>
48 * Makefile.am (BUILDTESTS): Add btest_lto.
49 * Makefile.in: Regenerate.
50 * btest.c (test1, f2, f3, test3, f22, f23): Declare with
51 __attribute__((noclone)).
53 2019-02-08 Tom de Vries <tdevries@suse.de>
55 * backtrace.c (backtrace_full): Declare with __attribute__((noinline)).
56 * print.c (backtrace_print): Same.
57 * simple.c (backtrace_simple): Same.
59 2019-02-08 Tom de Vries <tdevries@suse.de>
62 * dwarf.c (build_address_map): Keep all parsed units.
63 (read_referenced_name_from_attr): Handle DW_FORM_ref_addr.
65 2019-01-31 Tom de Vries <tdevries@suse.de>
68 * elf.c (elf_add): Read build-id if with_buildid_data. Fix
69 'debugaltlink_name_len =+ 1'.
71 2019-01-29 Tom de Vries <tdevries@suse.de>
73 * install-debuginfo-for-buildid.sh.in: New script.
74 * Makefile.am (check_PROGRAMS): Add b2test and b3test.
75 (TESTS): Add b2test_buildid and b3test_dwz_buildid.
76 * Makefile.in: Regenerate.
77 * configure.ac (HAVE_ELF): Set with AM_CONDITIONAL.
78 (READELF): Set with AC_CHECK_PROG.
79 (install-debuginfo-for-buildid.sh): Generate with AC_CONFIG_FILES.
80 * configure: Regenerate.
81 * elf.c (SYSTEM_BUILD_ID_DIR): Factor out of ...
82 (elf_open_debugfile_by_buildid): ... here.
84 2019-01-29 Tom de Vries <tdevries@suse.de>
86 * Makefile.am: Replace check_PROGRAMS with BUILDTESTS, except for
88 (TESTS): Don't add check_PROGRAMS. Add BUILDTESTS.
89 (check_PROGRAMS): Add BUILDTESTS.
90 * Makefile.in: Regenerate.
92 2019-01-28 Tom de Vries <tdevries@suse.de>
94 * Makefile.am (xcoff_%.c): Generate sed result into temporary file.
95 Use $< to access prerequisite.
96 * Makefile.in: Regenerate.
98 2019-01-25 Nathan Sidwell <nathan@acm.org>
100 * elf.c (elf_add): Pass "" filename to recursive call with
103 2019-01-25 Tom de Vries <tdevries@suse.de>
105 * elf.c (elf_add): When handling .gnu_debugaltlink, call elf_add with
107 * Makefile.am (TESTS): Add btest_dwz_gnudebuglink.
108 * Makefile.in: Regenerate.
110 2019-01-25 Tom de Vries <tdevries@suse.de>
112 * Makefile.am: Rewrite dtest rule into "%_gnudebuglink" pattern rule.
113 (TESTS): Rename dtest to btest_gnudebuglink.
114 * Makefile.in: Regenerate.
116 2019-01-23 Tom de Vries <tdevries@suse.de>
118 * dwarf.c (struct unit): Use size_t for low_offset/high_offset fields.
119 (units_search, find_unit): Use size_t for offset.
120 (build_address_map): Use size_t for unit_offset.
122 2019-01-20 Gerald Pfeifer <gerald@pfeifer.com>
124 * allocfail.c (main): Increase portability of printf statement.
126 2019-01-18 Ian Lance Taylor <iant@golang.org>
128 PR libbacktrace/88890
129 * mmapio.c (backtrace_get_view): Change size parameter to
130 uint64_t. Check that value fits in size_t.
131 * read.c (backtrace_get_view): Likewise.
132 * internal.h (backtrace_get_view): Update declaration.
133 * elf.c (elf_add): Pass shstrhdr->sh_size to backtrace_get_view.
135 2019-01-17 Tom de Vries <tdevries@suse.de>
137 PR libbacktrace/82857
138 * configure.ac (DWZ): Set with AC_CHECK_PROG.
139 (HAVE_DWZ): Set with AM_CONDITIONAL.
140 * configure: Regenerate.
141 * Makefile.am (TESTS): Add btest_dwz.
142 * Makefile.in: Regenerate.
144 2019-01-17 Tom de Vries <tdevries@suse.de>
146 PR libbacktrace/82857
147 * dwarf.c (enum attr_val_encoding): Add ATTR_VAL_REF_ALT_INFO.
148 (read_attribute): Handle DW_FORM_GNU_ref_alt using
149 ATTR_VAL_REF_ALT_INFO.
150 (read_referenced_name_from_attr): Handle DW_FORM_GNU_ref_alt.
152 2019-01-17 Tom de Vries <tdevries@suse.de>
154 * dwarf.c (struct unit): Add low_offset and high_offset fields.
155 (struct unit_vector): New type.
156 (struct dwarf_data): Add units and units_counts fields.
157 (find_unit): New function.
158 (find_address_ranges): Add and handle unit_tag parameter.
159 (build_address_map): Add and handle units_vec parameter.
160 (build_dwarf_data): Pass units_vec to build_address_map. Store resulting
163 2019-01-17 Tom de Vries <tdevries@suse.de>
165 PR libbacktrace/82857
166 * dwarf.c (read_attribute): Handle DW_FORM_GNU_strp_alt
169 2019-01-17 Tom de Vries <tdevries@suse.de>
171 * dwarf.c (enum attr_val_encoding): Add ATTR_VAL_NONE.
172 (read_attribute): Add altlink parameter. Handle missing altlink for
173 DW_FORM_GNU_strp_alt and DW_FORM_GNU_ref_alt.
174 (find_address_ranges, build_address_map, build_dwarf_data): Add and
175 handle altlink parameter.
176 (read_referenced_name, read_function_entry): Add argument to
179 2019-01-17 Tom de Vries <tdevries@suse.de>
181 * dwarf.c (struct dwarf_data): Add altlink field.
182 (backtrace_dwarf_add): Add and handle fileline_altlink parameter.
183 * elf.c (elf_add): Add argument to backtrace_dwarf_add call.
184 (phdr_callback, backtrace_initialize): Add argument to elf_add calls.
185 * internal.h (backtrace_dwarf_add): Add fileline_altlink parameter.
186 * pecoff.c (coff_add): Add argument to backtrace_dwarf_add call.
187 * xcoff.c (xcoff_add): Same.
189 2019-01-17 Tom de Vries <tdevries@suse.de>
191 * internal.h (backtrace_dwarf_add): Add fileline_entry parameter.
192 * dwarf.c (backtrace_dwarf_add): Add and handle fileline_entry parameter.
193 * elf.c (elf_add): Add and handle fileline_entry parameter. Add
194 argument to backtrace_dwarf_add call.
195 (phdr_callback, backtrace_initialize): Add argument to elf_add calls.
196 * pecoff.c (coff_add): Add argument to backtrace_dwarf_add call.
197 * xcoff.c (xcoff_add): Same.
199 2019-01-17 Tom de Vries <tdevries@suse.de>
201 * elf.c (elf_add): Add and handle with_buildid_data and
202 with_buildid_size parameters. Handle .gnu_debugaltlink section.
203 (phdr_callback, backtrace_initialize): Add arguments to elf_add calls.
205 2019-01-16 Tom de Vries <tdevries@suse.de>
207 * dwarf.c (read_referenced_name_from_attr): New function. Factor out
209 (read_referenced_name): ... here, and ...
210 (read_function_entry): ... here.
212 2019-01-16 Tom de Vries <tdevries@suse.de>
214 * dwarf.c (read_referenced_name): Don't allow DW_AT_name to override any
216 (read_function_entry): Same. Don't allow name found via
217 DW_AT_abstract_origin or case DW_AT_specification to override linkage
220 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
224 * backtrace.h: Mechanically replace "can not" with "cannot".
226 2019-01-01 Jakub Jelinek <jakub@redhat.com>
228 Update copyright years.
230 2018-12-29 Gerald Pfeifer <gerald@pfeifer.com>
232 * Makefile.am (xcoff_%.c): Use an actual newline instead of \n
234 * Makefile.in: Regenerate.
236 2018-12-28 Tom de Vries <tdevries@suse.de>
238 * dwarf.c (build_address_map): Reuse unused units.
240 2018-12-28 Tom de Vries <tdevries@suse.de>
242 * dwarf.c (build_address_map): Simplify by removing local variable
245 2018-12-28 Ian Lance Taylor <iant@golang.org>
246 Tom de Vries <tdevries@suse.de>
248 PR libbacktrace/88063
249 * dwarf.c (free_unit_addrs_vector): Remove.
250 (build_address_map): Keep track of allocated units in vector. Free
251 allocated units and corresponding abbrevs upon failure. Remove now
252 redundant call to free_unit_addrs_vector. Free addrs vector upon
253 failure. Free allocated unit vector.
255 2018-12-28 Tom de Vries <tdevries@suse.de>
257 * dwarf.c (build_address_map): Free addrs vector upon failure.
259 2018-12-14 Tom de Vries <tdevries@suse.de>
262 * allocfail.sh: Remove "set -o pipefail".
264 2018-12-12 Tom de Vries <tdevries@suse.de>
266 * Makefile.am (TESTS): Add allocfail.sh.
267 (check_PROGRAMS): Add allocfail.
268 * Makefile.in: Regenerate.
269 * instrumented_alloc.c: New file. Redefine malloc and realloc.
271 * allocfail.c: New file.
272 * allocfail.sh: New file.
274 2018-11-30 Tom de Vries <tdevries@suse.de>
276 * Makefile.am (check_PROGRAMS): Add test_elf, test_xcoff_32,
277 test_xcoff_64, test_pecoff and test_unknown.
278 * Makefile.in: Regenerate.
279 * test_format.c: New file.
281 2018-11-30 Tom de Vries <tdevries@suse.de>
283 * Makefile.am : Add _with_alloc version for each test in
285 * Makefile.in: Regenerate.
287 2018-11-30 Tom de Vries <tdevries@suse.de>
289 * internal.h (backtrace_vector_free): New static inline fuction,
291 * dwarf.c (read_line_info): ... here.
293 2018-11-28 Tom de Vries <tdevries@suse.de>
295 * dwarf.c (read_abbrevs): Fix handling of abbrevs->abbrevs allocation
298 2018-11-27 Tom de Vries <tdevries@suse.de>
300 * mmap.c (backtrace_vector_release): Same.
301 * unittest.c (test1): Add check.
303 2018-11-27 Tom de Vries <tdevries@suse.de>
305 * alloc.c (backtrace_vector_release): Handle vec->size == 0 using free
307 * Makefile.am (check_PROGRAMS): Add unittest.
308 * Makefile.in: Regenerate.
309 * unittest.c: New file.
311 2018-11-22 Tom de Vries <tdevries@suse.de>
313 * dwarf.c (read_initial_length): Factor out of ...
314 (build_address_map, read_line_info): ... here.
316 2018-11-21 Tom de Vries <tdevries@suse.de>
318 * dwarf.c (read_string): Factor out of ...
319 (read_attribute, read_line_header, read_line_program): ... here.
321 2018-10-31 Joseph Myers <joseph@codesourcery.com>
324 * Makefile.am: Include multilib.am.
325 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
326 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
328 2018-10-05 Ian Lance Taylor <iant@golang.org>
330 PR libbacktrace/87529
331 * backtrace.h: Document that backtrace_create_state should be
334 2018-08-05 Iain Buclaw <ibuclaw@gdcproject.org>
336 * configure.ac: Move define of HAVE_ZLIB into check for -lz.
337 * Makefile.in: Regenerate.
338 * config.h.in: Likewise.
339 * configure: Likewise.
341 2018-08-01 Tony Reix <tony.reix@atos.net>
343 * xcoff.c (struct xcoff_line, struct xcoff_line_vector): Remove.
344 (struct xcoff_func, struct xcoff_func_vector): New structs.
345 (xcoff_syminfo): Drop leading dot from symbol name.
346 (xcoff_line_compare, xcoff_line_search): Remove.
347 (xcoff_func_compare, xcoff_func_search): New static functions.
348 (xcoff_lookup_pc): Search function table.
349 (xcoff_add_line, xcoff_process_linenos): Remove.
350 (xcoff_initialize_fileline): Build function table.
352 2018-06-21 Denis Khalikov <d.khalikov@partner.samsung.com>
355 * elf.c (elf_add): Increase ".note.gnu.build-id" section size
356 checking up to 36 bytes.
358 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
360 * configure: Regenerated.
362 2018-04-19 Jakub Jelinek <jakub@redhat.com>
364 * configure: Regenerated.
366 2018-04-17 Ian Lance Taylor <iant@golang.org>
368 * backtrace.c: Revert last two changes. Don't call mmap
371 2018-04-17 Ian Lance Taylor <iant@golang.org>
373 * backtrace.c: Include backtrace-supported.h before checking
374 BACKTRACE_USES_MALLOC.
376 2018-04-17 Ian Lance Taylor <iant@golang.org>
378 * backtrace.c (backtrace_full): When testing whether we can
379 allocate memory, call mmap directly, and munmap the memory.
381 2018-04-04 Jakub Jelinek <jakub@redhat.com>
384 * elf.c (elf_zlib_fetch): Fix up predefined macro names in test for
385 big endian, only use 32-bit loads if endianity macros are predefined
386 and indicate big or little endian.
388 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
391 * configure: Regenerate.
393 2018-02-15 Jakub Jelinek <jakub@redhat.com>
396 * elf.c (SHT_PROGBITS): Undefine and define.
398 2018-02-14 Jakub Jelinek <jakub@redhat.com>
401 * elf.c (EM_PPC64, EF_PPC64_ABI): Undefine and define.
402 (struct elf_ppc64_opd_data): New type.
403 (elf_initialize_syminfo): Add opd argument, handle symbols
404 pointing into the PowerPC64 ELFv1 .opd section.
405 (elf_add): Read .opd section on PowerPC64 ELFv1, pass pointer
406 to structure with .opd data to elf_initialize_syminfo.
408 2018-01-31 Ian Lance Taylor <iant@golang.org>
410 * elf.c (elf_add): Close descriptor if we use a debugfile.
411 * btest.c (check_open_files): New static function.
412 (main): Call check_open_files.
414 2018-01-25 Ian Lance Taylor <iant@golang.org>
416 * elf.c (elf_open_debugfile_by_debuglink): Don't check CRC if the
418 (elf_add): Don't clear *found_sym and *found_dwarf if debuginfo.
420 2018-01-25 Ian Lance Taylor <iant@golang.org>
422 * pecoff.c (coff_add): Only release syms_view if it is valid.
424 2018-01-25 Ian Lance Taylor <iant@golang.org>
426 * pecoff.c (coff_add): Another memcpy -> coff_read4 fix.
428 2018-01-24 Ian Lance Taylor <iant@golang.org>
430 * pecoff.c (coff_add): Use coff_read4, not memcpy.
432 2018-01-24 Ian Lance Taylor <iant@golang.org>
435 * mmap.c (backtrace_free_locked): Don't put more than 16 entries
438 2018-01-19 Tony Reix <tony.reix@atos.net>
440 * xcoff.c (xcoff_incl_compare): New function.
441 (xcoff_incl_search): New function.
442 (xcoff_process_linenos): Use bsearch to find include file.
443 (xcoff_initialize_fileline): Sort include file information.
445 2018-01-16 Ian Lance Taylor <iant@golang.org>
447 * elf.c (codes) [GENERATE_FIXED_HUFFMAN_TABLE]: Fix size to be
449 (main) [GENERATE_FIXED_HUFFMAN_TABLE]: Pass 288 to
450 elf_zlib_inflate_table. Generate elf_zlib_default_dist_table.
451 (elf_zlib_default_table): Update.
452 (elf_zlib_default_dist_table): New static array.
453 (elf_zlib_inflate): Use elf_zlib_default_dist_table for dist table
455 * ztest.c (struct zlib_test): Add uncompressed_len.
456 (tests): Initialize uncompressed_len field. Add new test case.
457 (test_samples): Use uncompressed_len field.
459 2018-01-03 Jakub Jelinek <jakub@redhat.com>
461 Update copyright years.
463 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
465 * configure.ac: Add CET_FLAGS to EXTRA_FLAGS.
466 * aclocal.m4: Regenerate.
467 * Makefile.in: Likewise.
468 * configure: Likewise.
470 2017-10-06 Ian Lance Taylor <iant@golang.org>
472 * ztest.c (test_large): Pass unsigned long *, not size_t *, to
473 zlib uncompress function.
475 2017-10-05 Ian Lance Taylor <iant@golang.org>
477 * elf.c (elf_zlib_fetch): Change pval argument to uint64_t *.
478 Read a four byte integer.
479 (elf_zlib_inflate): Change val to uint64_t. Align pin to a 32-bit
480 boundary before ever calling elf_zlib_fetch.
481 * ztest.c (test_large): Simplify print statements a bit.
483 2017-10-02 Ian Lance Taylor <iant@golang.org>
485 * ztest.c: #include <errno.h>.
486 (TEST_TIMING): Don't define, don't test.
487 (xclock_gettime, xclockid_t): Define if !HAVE_CLOCK_GETTIME.
488 (clockid_t, clock_gettime, CLOCK_REALTIME): Likewise.
489 (ZLIB_CLOCK_GETTIME_ARG): Define.
490 * configure.ac: Change clock_gettime_link to CLOCK_GETTIME_LINK.
491 * Makefile.am: Likewise.
492 * configure, Makefile.in: Rebuild.
494 2017-10-02 Thomas Schwinge <thomas@codesourcery.com>
497 * Makefile.am: Append the content of clock_gettime_link to
499 * configure.ac: Test for the case that clock_gettime is in librt.
500 * Makefile.in: Regenerate.
501 * configure: Likewise.
504 * configure.ac: Check for clock_gettime.
505 * config.h.in: Regenerate.
506 * configure: Likewise.
507 * ztest.c (average_time, test_large): Conditionalize test timing
508 on clock_gettime availability.
510 2017-09-29 Tony Reix <tony.reix@atos.net>
512 * xcoff.c: Initial support for DWARF debug sections in XCOFF.
513 (STYP_DWARF, SSUBTYP_DW*): Define.
514 (enum dwarf_section): Define.
515 (struct dwsect_info): Define.
516 (xcoff_add): Look for DWARF sections, pass them to
519 2017-09-28 Ian Lance Taylor <iant@golang.org>
522 * elf.c (__builtin_prefetch): Define if not __GNUC__.
524 (SHF_UNCOMPRESSED, ELFCOMPRESS_ZLIB): Define.
525 (b_elf_chdr): Define type.
526 (enum debug_section): Add ZDEBUG_xxx values.
527 (debug_section_names): Add names for new sections.
528 (struct debug_section_info): Add compressed field.
529 (elf_zlib_failed, elf_zlib_fetch): New static functions.
530 (HUFFMAN_TABLE_SIZE, HUFFMAN_VALUE_MASK): Define.
531 (HUFFMAN_BITS_SHIFT, HUFFMAN_BITS_MASK): Define.
532 (HUFFMAN_SECONDARY_SHIFT): Define.
533 (ZDEBUG_TABLE_SIZE): Define.
534 (ZDEBUG_TABLE_CODELEN_OFFSET, ZDEBUG_TABLE_WORK_OFFSET): Define.
535 (final_next_secondary): New static variable if
536 BACKTRACE_GENERATE_FIXED_HUFFMAN_TABLE.
537 (elf_zlib_inflate_table): New static function.
538 (BACKTRACE_GENERATE_FIXED_HUFFMAN_TABLE): If define, define main
539 function to produce fixed Huffman table.
540 (elf_zlib_default_table): New static variable.
541 (elf_zlib_inflate): New static function.
542 (elf_zlib_verify_checksum): Likewise.
543 (elf_zlib_inflate_and_verify): Likewise.
544 (elf_uncompress_zdebug): Likewise.
545 (elf_uncompress_chdr): Likewise.
546 (backtrace_uncompress_zdebug): New extern function.
547 (elf_add): Look for .zdebug sections and SHF_COMPRESSED debug
548 sections, and uncompress them.
549 * internal.h (backtrace_compress_zdebug): Declare.
551 * configure.ac: Check for -lz and check whether the linker
552 supports --compress-debug-sections.
553 * Makefile.am (ztest_SOURCES): New variable.
554 (ztest_CFLAGS, ztest_LDADD): New variables.
555 (check_PROGRAMS): Add ztest.
556 (ctestg_SOURCES): New variable.
557 (ctestg_CFLAGS, ctestg_LDFLAGS, ctestg_LDADD): New variables.
558 (ctesta_SOURCES): New variable.
559 (ctesta_CFLAGS, ctesta_LDFLAGS, ctesta_LDADD): New variables.
560 (check_PROGRAMS): Add ctestg and ctesta.
561 * configure, config.h.in, Makefile.in: Rebuild.
563 2017-09-22 Ian Lance Taylor <iant@golang.org>
566 * configure.ac: Check for lstat and readlink.
567 * elf.c (lstat, readlink): Provide dummy versions if real versions
569 * configure, config.h.in: Rebuild.
571 2017-09-21 Ian Lance Taylor <iant@google.com>
574 * elf.c (backtrace_initialize): Set pd.exe_filename.
576 2017-09-20 Ian Lance Taylor <iant@golang.org>
577 Denis Khalikov <d.khalikov@partner.samsung.com>
580 Support for external debug info.
581 * elf.c: Include <errno.h>, <sys/stat.h>, <unistd.h>.
582 (S_ISLNK): Define if not defined.
583 (xstrnlen): Define if strnlen is not available.
584 (b_elf_note): Define type.
585 (NT_GNU_BUILD_ID): Define macro.
586 (elf_crc32, elf_crc32_file): New static functions.
587 (elf_is_symlink, elf_readlink): New static functions.
588 (elf_open_debugfile_by_buildid): New static function.
589 (elf_try_debugfile): New static function.
590 (elf_find_debugfile_by_debuglink): New static function.
591 (elf_open_debugfile_by_debuglink): New static function.
592 (elf_add): Add filename and debuginfo parameters. Adjust all
593 callers. Look for external debug info notes, and try to fetch
594 debug info from external file.
595 (struct phdr_data): Add exe_filename field.
596 (phdr_callback): Pass filename to elf_add.
597 (backtrace_initialize): Add filename parameter.
598 * internal.h (backtrace_initialize): Add filename parameter.
599 * fileline.c (fileline_initialize): Pass filename to
600 backtrace_initialize.
601 * pecoff.c (fileline_initialize): Add unused filename parameter.
602 * unknown.c (fileline_initialize): Likewise.
603 * xcoff.c (fileline_initialize): Likewise.
604 * configure.ac: Check for objcopy --add-gnu-debuglink.
605 * Makefile.am (dtest): New test target.
606 * configure, Makefile.in: Rebuild.
608 2017-09-12 Steve Ellcey <sellcey@cavium.com>
611 * Makefile.am (ttest_CFLAGS): Add $(AM_CFLAGS)
612 * Makefile.in: Regenerate.
614 2017-09-12 Steve Ellcey <sellcey@cavium.com>
617 * libbacktrace/Makefile.in
618 (HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ttest_CFLAGS): Add $(AM_CFLAGS)
620 2017-08-02 David Edelsohn <dje.gcc@gmail.com>
623 * xcoff.c (xcoff_process_linenos): Initialize incl to NULL.
625 2017-07-28 Tony Reix <tony.reix@atos.net>
627 * xcoff.c: Don't leak a file descriptor if an archive is malformed.
629 2017-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
631 * fileline.c (fileline_initialize): Print pid_t as long.
633 2017-07-26 Tony Reix <tony.reix@atos.net>
635 * configure.ac: Check for XCOFF32/XCOFF64. Check for loadquery.
636 * filetype.awk: Separate AIX XCOFF32 and XCOFF64.
637 * xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats.
638 * configure, config.h.in: Regenerate.
640 2017-07-21 Tony Reix <tony.reix@atos.net>
642 * filetype.awk: Add AIX XCOFF type detection.
643 * configure.ac: Recognize xcoff format.
644 * Makefile.am (FORMAT_FILES): Add xcoff.c.
645 * fileline.c: Include <unistd.h>.
646 (fileline_initialize): Add case for AIX procfs.
648 * configure, Makefile.in: Rebuild.
650 2017-06-21 Richard Biener <rguenther@suse.de>
652 * configure.ac: Add AC_SYS_LARGEFILE.
653 * config.h.in: Regenerate.
654 * configure: Likewise.
656 2017-06-11 Ian Lance Taylor <iant@golang.org>
658 * elf.c (backtrace_initialize): Always set *fileline_fn.
660 * btest.c: Move support functions into testlib.c. Change calls to
661 check to pass file name.
662 * testlib.c: New file, copied from (part of) btest.c.
663 * testlib.h: New file, declarations for testlib.c.
664 * edtest.c: Use testlib.h and testlib.c.
665 * configure.ac: Test for -pthread, set HAVE_PTHREAD conditional.
666 * Makefile.am (btest_SOURCES): Add testlib.c.
667 (edtest_SOURCES): Likewise.
668 (CHECK_PROGRAMS): Add ttest if HAVE_PTHREAD.
669 (ttest_SOURCES, ttest_CFLAGS, ttest_LDADD): Define.
670 * configure, Makefile.in: Rebuild.
672 2017-05-19 Than McIntosh <thanm@google.com>
674 * dwarf.c (free_line_header): Don't free dirs if dirs_count == 0.
675 (read_line_header): Don't allocate dirs if dirs_count == 0.
676 * edtest.c: New file.
677 * edtest2.c: New file.
678 * Makefile.am (edtest_SOURCES, edtest_LDADD): Define.
679 (check_PROGRAMS): Add edtest.
680 (edtest2_build.c, gen_edtest2_build): New targets.
681 * Makefile.in: Rebuild.
683 2017-03-08 Sam Thursfield <sam.thursfield@codethink.co.uk>
685 * btest.c (test5): Replace #ifdef guard with 'unused' attribute
686 to fix compile warning when BACKTRACE_SUPPORTED isn't defined.
688 2017-01-01 Jakub Jelinek <jakub@redhat.com>
690 Update copyright years.
692 2016-11-15 Matthias Klose <doko@ubuntu.com>
694 * configure: Regenerate.
696 2016-09-11 Carlos Liam <carlos@aarzee.me>
698 * all: Remove meaningless trailing whitespace.
700 2016-05-18 Uros Bizjak <ubizjak@gmail.com>
703 * elf.c (phdr_callback) [__i386__]: Add
704 __attribute__((__force_align_arg_pointer__)).
706 2016-03-02 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
708 * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to
709 avoid possible crash.
710 (elf_add): Don't set *fileline_fn to elf_nodebug value in case of
711 missing debug info anymore.
713 2016-02-06 John David Anglin <danglin@gcc.gnu.org>
715 * mmap.c (MAP_FAILED): Define if not defined.
717 2016-01-04 Jakub Jelinek <jakub@redhat.com>
719 Update copyright years.
721 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
723 * configure.ac: Specify that DJGPP do not have mmap
724 even when sys/mman.h exists.
725 * configure: Regenerate
727 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
730 * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*.
731 * configure: Regenerate.
732 * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call
735 2015-09-17 Ian Lance Taylor <iant@google.com>
737 * posix.c (backtrace_open): Cast second argument of open() to int.
739 2015-09-11 Ian Lance Taylor <iant@google.com>
741 * Makefile.am (backtrace.lo): Depend on internal.h.
742 (sort.lo, stest.lo): Add explicit dependencies.
743 * Makefile.in: Rebuild.
745 2015-09-09 Hans-Peter Nilsson <hp@axis.com>
747 * backtrace.c: #include <sys/types.h>.
749 2015-09-08 Ian Lance Taylor <iant@google.com>
752 * backtrace.c: #include "internal.h".
753 (struct backtrace_data): Add can_alloc field.
754 (unwind): If can_alloc is false, don't try to get file/line
756 (backtrace_full): Set can_alloc field in bdata.
757 * alloc.c (backtrace_alloc): Don't call error_callback if it is
759 * mmap.c (backtrace_alloc): Likewise.
760 * internal.h: Update comments for backtrace_alloc and
763 2015-09-08 Ian Lance Taylor <iant@google.com>
766 * mmap.c (backtrace_alloc): Correct test for mmap failure.
768 2015-08-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
770 * configure.ac: For spu-*-* targets, set have_fcntl to no.
771 * configure: Regenerate.
773 2015-08-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
775 * configure.ac: Remove [disable-shared] argument to LT_INIT.
776 Remove setting PIC_FLAG when building as target library.
777 * configure: Regenerate.
779 2015-08-26 Hans-Peter Nilsson <hp@axis.com>
781 * configure.ac: Only compile with -fPIC if the target
783 * configure: Regenerate.
785 2015-08-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
787 * configure.ac: Set have_mmap to no on spu-*-* targets.
788 * configure: Regenerate.
790 2015-08-13 Ian Lance Taylor <iant@google.com>
792 * dwarf.c (read_function_entry): Add vec_inlined parameter.
795 2015-06-11 Martin Sebor <msebor@redhat.com>
798 * dwarf.c (struct line): Add new field idx.
799 (line_compare): Use it.
801 (read_line_info): Reset it.
803 2015-05-29 Tristan Gingold <gingold@adacore.com>
805 * pecoff.c: New file.
806 * Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies.
807 * Makefile.in: Regenerate.
808 * filetype.awk: Detect pecoff.
809 * configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms.
811 * btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is
813 * backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define.
814 * configure: Regenerate.
815 * pecoff.c: New file.
817 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
819 * Makefile.in: Regenerated with automake-1.11.6.
820 * aclocal.m4: Likewise.
821 * configure: Likewise.
823 2015-01-24 Matthias Klose <doko@ubuntu.com>
825 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
826 * configure: Regenerate.
828 2015-01-05 Jakub Jelinek <jakub@redhat.com>
830 Update copyright years.
832 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
835 * configure: Regenerated.
837 2014-11-11 David Malcolm <dmalcolm@redhat.com>
839 * ChangeLog.jit: New.
841 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
844 * configure: Regenerate.
846 2014-10-23 Ian Lance Taylor <iant@google.com>
848 * internal.h (backtrace_atomic_load_pointer) [no atomic or sync]:
849 Fix to return void *.
851 2014-05-08 Ian Lance Taylor <iant@google.com>
853 * mmap.c (backtrace_free): If freeing a large aligned block of
854 memory, call munmap rather than holding onto it.
855 (backtrace_vector_grow): When growing a vector, double the number
856 of pages requested. When releasing the old version of a grown
857 vector, pass the correct size to backtrace_free.
859 2014-03-07 Ian Lance Taylor <iant@google.com>
861 * sort.c (backtrace_qsort): Use middle element as pivot.
863 2014-03-06 Ian Lance Taylor <iant@google.com>
867 * internal.h (backtrace_qsort): Declare.
868 * dwarf.c (read_abbrevs): Call backtrace_qsort instead of qsort.
869 (read_line_info, read_function_entry): Likewise.
870 (read_function_info, build_dwarf_data): Likewise.
871 * elf.c (elf_initialize_syminfo): Likewise.
872 * Makefile.am (libbacktrace_la_SOURCES): Add sort.c.
873 (stest_SOURCES, stest_LDADD): Define.
874 (check_PROGRAMS): Add stest.
876 2014-02-07 Misty De Meo <misty@brew.sh>
879 * configure.ac: Use AC_LINK_IFELSE in check for
881 * configure: Regenerate.
883 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
885 Update copyright years
887 2013-12-06 Jakub Jelinek <jakub@redhat.com>
889 * elf.c (ET_DYN): Undefine and define again.
890 (elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN,
891 return early -1 without closing the descriptor.
892 (struct phdr_data): Add exe_descriptor.
893 (phdr_callback): If pd->exe_descriptor is not -1, for very first
894 call if dlpi_name is NULL just call elf_add with the exe_descriptor,
895 otherwise backtrace_close the exe_descriptor if not -1. Adjust
897 (backtrace_initialize): Adjust call to elf_add. If it returns
898 -1, set pd.exe_descriptor to descriptor, otherwise set it to -1.
900 2013-12-05 Ian Lance Taylor <iant@google.com>
902 * alloc.c (backtrace_vector_finish): Add error_callback and data
903 parameters. Call backtrace_vector_release. Return address base.
904 * mmap.c (backtrace_vector_finish): Add error_callback and data
905 parameters. Return address base.
906 * dwarf.c (read_function_info): Get new address base from
907 backtrace_vector_finish.
908 * internal.h (backtrace_vector_finish): Update declaration.
910 2013-11-27 Ian Lance Taylor <iant@google.com>
912 * dwarf.c (find_address_ranges): New static function, broken out
913 of build_address_map.
914 (build_address_map): Call it.
915 * btest.c (check): Check for missing filename or function, rather
917 (f3): Check that enough frames were returned.
919 2013-11-19 Jakub Jelinek <jakub@redhat.com>
921 * backtrace.h (backtrace_syminfo_callback): Add symsize argument.
922 * elf.c (elf_syminfo): Pass 0 or sym->size to the callback as
924 * btest.c (struct symdata): Add size field.
925 (callback_three): Add symsize argument. Copy it to the data->size
927 (f23): Set symdata.size to 0.
928 (test5): Likewise. If sizeof (int) > 1, lookup address of
929 ((uintptr_t) &global) + 1. Verify symdata.val and symdata.size
932 * atomic.c: Include sys/types.h.
934 2013-11-18 Ian Lance Taylor <iant@google.com>
936 * configure.ac: Check for support of __atomic extensions.
937 * internal.h: Declare or #define atomic functions for use in
939 * atomic.c: New file.
940 * dwarf.c (dwarf_lookup_pc): Use atomic functions.
941 (dwarf_fileline, backtrace_dwarf_add): Likewise.
942 * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise.
943 (backtrace_initialize): Likewise.
944 * fileline.c (fileline_initialize): Likewise.
945 * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c.
946 * configure, config.h.in, Makefile.in: Rebuild.
948 2013-11-18 Jakub Jelinek <jakub@redhat.com>
950 * elf.c (SHN_UNDEF): Define.
951 (elf_initialize_syminfo): Add base_address argument. Ignore symbols
952 with st_shndx == SHN_UNDEF. Add base_address to address fields.
953 (elf_add): Adjust caller.
955 * elf.c (phdr_callback): Process info->dlpi_addr == 0 normally.
957 2013-11-16 Ian Lance Taylor <iant@google.com>
959 * backtrace.h (backtrace_create_state): Correct comment about
962 2013-11-15 Ian Lance Taylor <iant@google.com>
964 * backtrace.h (backtrace_syminfo): Update comment and parameter
965 name to take any address, not just a PC value.
966 * elf.c (STT_OBJECT): Define.
967 (elf_nosyms): Rename parameter pc to addr.
968 (elf_symbol_search): Rename local variable pc to addr.
969 (elf_initialize_syminfo): Add STT_OBJECT symbols to elf_symbols.
970 (elf_syminfo): Rename parameter pc to addr.
971 * btest.c (global): New global variable.
975 2013-10-17 Ian Lance Taylor <iant@google.com>
977 * elf.c (elf_add): Don't get the wrong offsets if a debug section
980 2013-10-15 David Malcolm <dmalcolm@redhat.com>
982 * configure.ac: Add --enable-host-shared, setting up
983 pre-existing PIC_FLAG variable within Makefile.am et al.
984 * configure: Regenerate.
986 2013-09-20 Alan Modra <amodra@gmail.com>
988 * configure: Regenerate.
990 2013-07-23 Alexander Monakov <amonakov@ispras.ru>
992 * elf.c (elf_syminfo): Loop over the elf_syminfo_data chain.
994 2013-07-23 Alexander Monakov <amonakov@ispras.ru>
996 * elf.c (backtrace_initialize): Pass elf_fileline_fn to
997 dl_iterate_phdr callbacks.
999 2013-03-25 Ian Lance Taylor <iant@google.com>
1001 * alloc.c: #include <sys/types.h>.
1004 2013-01-31 Ian Lance Taylor <iant@google.com>
1006 * dwarf.c (read_function_info): Permit fvec parameter to be NULL.
1007 (dwarf_lookup_pc): Don't use ddata->fvec if threaded.
1009 2013-01-25 Jakub Jelinek <jakub@redhat.com>
1012 * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir
1013 attribute was not seen.
1015 2013-01-16 Ian Lance Taylor <iant@google.com>
1017 * dwarf.c (struct unit): Add filename and abs_filename fields.
1018 (build_address_map): Set new fields when reading unit.
1019 (dwarf_lookup_pc): If we don't find an entry in the line table,
1020 just return the main file name.
1022 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
1024 Update copyright years.
1026 2013-01-01 Ian Lance Taylor <iant@google.com>
1029 * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I
1030 $(MULTIBUILDTOP)/../../gcc/include.
1031 * Makefile.in: Rebuild.
1033 2013-01-01 Ian Lance Taylor <iant@google.com>
1036 * mmap.c (backtrace_alloc): Don't call sync functions if not
1038 (backtrace_free): Likewise.
1040 2012-12-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1042 * mmapio.c: Define MAP_FAILED if not defined.
1044 2012-12-11 Jakub Jelinek <jakub@redhat.com>
1047 * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@.
1048 * configure.ac: If --with-target-subdir, add -frandom-seed=$@
1049 to EXTRA_FLAGS unconditionally, otherwise check whether the compiler
1051 * Makefile.in: Regenerated.
1052 * configure: Regenerated.
1054 2012-12-07 Jakub Jelinek <jakub@redhat.com>
1057 * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@.
1058 * Makefile.in: Regenerated.
1060 2012-11-20 Ian Lance Taylor <iant@google.com>
1062 * dwarf.c (read_attribute): Always clear val.
1064 2012-11-13 Ian Lance Taylor <iant@google.com>
1067 * configure.ac: Only add -Werror if building a target library.
1068 * configure: Rebuild.
1070 2012-11-12 Ian Lance Taylor <iant@google.com>
1071 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1072 Gerald Pfeifer <gerald@pfeifer.com>
1074 * configure.ac: Check for getexecname.
1075 * fileline.c: #include <errno.h>. Define getexecname if not
1077 (fileline_initialize): Try to find the executable in a few
1079 * print.c (error_callback): Only print the filename if it came
1080 from the backtrace state.
1081 * configure, config.h.in: Rebuild.
1083 2012-10-29 Ian Lance Taylor <iant@google.com>
1085 * mmap.c (backtrace_vector_release): Correct last patch: add
1088 2012-10-29 Ian Lance Taylor <iant@google.com>
1090 * mmap.c (backtrace_vector_release): Make sure freed block is
1091 aligned on 8-byte boundary.
1093 2012-10-26 Ian Lance Taylor <iant@google.com>
1096 * posix.c (backtrace_open): Add does_not_exist parameter.
1097 * elf.c (phdr_callback): Do not warn if shared library could not
1099 * fileline.c (fileline_initialize): Update calls to
1101 * internal.h (backtrace_open): Update declaration.
1103 2012-10-26 Jack Howarth <howarth@bromo.med.uc.edu>
1106 * configure.ac: Check for _Unwind_GetIPInfo function declaration.
1107 * configure: Regenerate.
1109 2012-10-24 Ian Lance Taylor <iant@google.com>
1112 * configure.ac: Check whether -funwind-tables option works.
1113 * configure: Rebuild.
1115 2012-10-11 Ian Lance Taylor <iant@google.com>
1117 * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
1118 * configure: Rebuild.
1120 2012-10-10 Ian Lance Taylor <iant@google.com>
1122 * elf.c: Rename all Elf typedefs to start with b_elf, and be all
1125 2012-10-10 Hans-Peter Nilsson <hp@bitrange.com>
1127 * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
1129 2012-10-09 Ian Lance Taylor <iant@google.com>
1131 * dwarf.c (dwarf_fileline): Add cast to avoid warning.
1132 (backtrace_dwarf_add): Likewise.
1134 2012-10-09 Ian Lance Taylor <iant@google.com>
1136 Add support for tracing through shared libraries.
1137 * configure.ac: Check for link.h and dl_iterate_phdr.
1138 * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef
1139 ELF macros before #defining them.
1140 (dl_phdr_info, dl_iterate_phdr): Define if system does not have
1142 (struct elf_syminfo_data): Add next field.
1143 (elf_initialize_syminfo): Initialize next field.
1144 (elf_add_syminfo_data): New static function.
1145 (elf_add): New static function, broken out of
1146 backtrace_initialize. Call backtrace_dwarf_add instead of
1147 backtrace_dwarf_initialize.
1148 (struct phdr_data): Define.
1149 (phdr_callback): New static function.
1150 (backtrace_initialize): Call elf_add.
1151 * dwarf.c (struct dwarf_data): Add next and base_address fields.
1152 (add_unit_addr): Add base_address parameter. Change all callers.
1153 (add_unit_ranges, build_address_map): Likewise.
1154 (add_line): Add ddata parameter. Change all callers.
1155 (read_line_program, add_function_range): Likewise.
1156 (dwarf_lookup_pc): New static function, broken out of
1158 (dwarf_fileline): Call dwarf_lookup_pc.
1159 (build_dwarf_data): New static function.
1160 (backtrace_dwarf_add): New function.
1161 (backtrace_dwarf_initialize): Remove.
1162 * internal.h (backtrace_dwarf_initialize): Don't declare.
1163 (backtrace_dwarf_add): Declare.
1164 * configure, config.h.in: Rebuild.
1166 2012-10-04 Gerald Pfeifer <gerald@pfeifer.com>
1168 * btest.c (f23): Avoid uninitialized variable warning.
1170 2012-10-04 Ian Lance Taylor <iant@google.com>
1172 * dwarf.c: If the system header files do not declare strnlen,
1173 provide our own version.
1175 2012-10-03 Ian Lance Taylor <iant@google.com>
1177 * dwarf.c (read_uleb128): Fix overflow test.
1178 (read_sleb128): Likewise.
1179 (build_address_map): Don't change unit_buf.start.
1181 2012-10-02 Uros Bizjak <ubizjak@gmail.com>
1184 * configure.ac (EXTRA_FLAGS): New.
1185 * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
1186 * configure, Makefile.in: Regenerate.
1188 2012-09-29 Ian Lance Taylor <iant@google.com>
1191 * fileline.c (fileline_initialize): Pass errnum as -1 when
1192 reporting that we could not read executable information after a
1195 2012-09-27 Ian Lance Taylor <iant@google.com>
1198 * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
1199 * Makefile.am: Add dependencies for all objects.
1200 * configure, aclocal.m4, Makefile.in: Rebuild.
1202 2012-09-27 Ian Lance Taylor <iant@google.com>
1205 * elf.c (backtrace_initialize): Set *fileln_fn, not
1208 2012-09-19 Ian Lance Taylor <iant@google.com>
1210 * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
1211 as a target library.
1212 * configure: Rebuild.
1214 2012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1215 Ian Lance Taylor <iant@google.com>
1217 * configure.ac (GCC_HEADER_STDINT): Invoke.
1218 * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
1219 * btest.c: Don't include <stdint.h>.
1220 * dwarf.c: Likewise.
1221 * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
1223 2012-09-18 Ian Lance Taylor <iant@google.com>
1226 * Makefile.am (AM_CPPFLAGS): Define.
1227 (AM_CFLAGS): Remove -I options.
1228 * Makefile.in: Rebuild.
1230 2012-09-18 Ian Lance Taylor <iant@google.com>
1232 * posix.c (O_BINARY): Define if not defined.
1233 (backtrace_open): Pass O_BINARY to open. Only call fcntl if
1234 HAVE_FCNTL is defined.
1235 * configure.ac: Test for the fcntl function.
1236 * configure, config.h.in: Rebuild.
1238 2012-09-18 Ian Lance Taylor <iant@google.com>
1240 * btest.c (test1, test2, test3, test4): Add the unused attribute.
1242 2012-09-18 Ian Lance Taylor <iant@google.com>
1244 * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
1246 2012-09-18 Ian Lance Taylor <iant@google.com>
1248 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
1249 * mmapio.c: Don't define _GNU_SOURCE.
1250 * configure, config.h.in: Rebuild.
1252 2012-09-18 Ian Lance Taylor <iant@google.com>
1254 * configure.ac: Check whether strnlen is declared.
1255 * dwarf.c: Declare strnlen if not declared.
1256 * configure, config.h.in: Rebuild.
1258 2012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1260 * fileline.c: Include <stdlib.h>.
1263 2012-09-17 Ian Lance Taylor <iant@google.com>
1266 * nounwind.c (backtrace_full): Rename from backtrace. Add state
1269 2012-09-17 Gerald Pfeifer <gerald@pfeifer.com>
1272 * nounwind.c (backtrace_simple): Add state parameter.
1274 2012-09-17 Ian Lance Taylor <iant@google.com>
1277 * unknown.c (unknown_fileline): Add state parameter, remove
1278 fileline_data parameter, name error_callback parameter.
1279 (backtrace_initialize): Add state parameter.
1281 2012-09-17 Ian Lance Taylor <iant@google.com>
1283 * Initial implementation.
1285 Copyright (C) 2012-2019 Free Software Foundation, Inc.
1287 Copying and distribution of this file, with or without modification,
1288 are permitted in any medium without royalty provided the copyright
1289 notice and this notice are preserved.