1 2012-10-26 Jack Howarth <howarth@bromo.med.uc.edu>
4 * configure.ac: Check for _Unwind_GetIPInfo function declaration.
5 * configure: Regenerate.
7 2012-10-24 Ian Lance Taylor <iant@google.com>
10 * configure.ac: Check whether -funwind-tables option works.
13 2012-10-11 Ian Lance Taylor <iant@google.com>
15 * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
18 2012-10-10 Ian Lance Taylor <iant@google.com>
20 * elf.c: Rename all Elf typedefs to start with b_elf, and be all
23 2012-10-10 Hans-Peter Nilsson <hp@bitrange.com>
25 * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
27 2012-10-09 Ian Lance Taylor <iant@google.com>
29 * dwarf.c (dwarf_fileline): Add cast to avoid warning.
30 (backtrace_dwarf_add): Likewise.
32 2012-10-09 Ian Lance Taylor <iant@google.com>
34 Add support for tracing through shared libraries.
35 * configure.ac: Check for link.h and dl_iterate_phdr.
36 * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef
37 ELF macros before #defining them.
38 (dl_phdr_info, dl_iterate_phdr): Define if system does not have
40 (struct elf_syminfo_data): Add next field.
41 (elf_initialize_syminfo): Initialize next field.
42 (elf_add_syminfo_data): New static function.
43 (elf_add): New static function, broken out of
44 backtrace_initialize. Call backtrace_dwarf_add instead of
45 backtrace_dwarf_initialize.
46 (struct phdr_data): Define.
47 (phdr_callback): New static function.
48 (backtrace_initialize): Call elf_add.
49 * dwarf.c (struct dwarf_data): Add next and base_address fields.
50 (add_unit_addr): Add base_address parameter. Change all callers.
51 (add_unit_ranges, build_address_map): Likewise.
52 (add_line): Add ddata parameter. Change all callers.
53 (read_line_program, add_function_range): Likewise.
54 (dwarf_lookup_pc): New static function, broken out of
56 (dwarf_fileline): Call dwarf_lookup_pc.
57 (build_dwarf_data): New static function.
58 (backtrace_dwarf_add): New function.
59 (backtrace_dwarf_initialize): Remove.
60 * internal.h (backtrace_dwarf_initialize): Don't declare.
61 (backtrace_dwarf_add): Declare.
62 * configure, config.h.in: Rebuild.
64 2012-10-04 Gerald Pfeifer <gerald@pfeifer.com>
66 * btest.c (f23): Avoid uninitialized variable warning.
68 2012-10-04 Ian Lance Taylor <iant@google.com>
70 * dwarf.c: If the system header files do not declare strnlen,
71 provide our own version.
73 2012-10-03 Ian Lance Taylor <iant@google.com>
75 * dwarf.c (read_uleb128): Fix overflow test.
76 (read_sleb128): Likewise.
77 (build_address_map): Don't change unit_buf.start.
79 2012-10-02 Uros Bizjak <ubizjak@gmail.com>
82 * configure.ac (EXTRA_FLAGS): New.
83 * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
84 * configure, Makefile.in: Regenerate.
86 2012-09-29 Ian Lance Taylor <iant@google.com>
89 * fileline.c (fileline_initialize): Pass errnum as -1 when
90 reporting that we could not read executable information after a
93 2012-09-27 Ian Lance Taylor <iant@google.com>
96 * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
97 * Makefile.am: Add dependencies for all objects.
98 * configure, aclocal.m4, Makefile.in: Rebuild.
100 2012-09-27 Ian Lance Taylor <iant@google.com>
103 * elf.c (backtrace_initialize): Set *fileln_fn, not
106 2012-09-19 Ian Lance Taylor <iant@google.com>
108 * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
110 * configure: Rebuild.
112 2012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
113 Ian Lance Taylor <iant@google.com>
115 * configure.ac (GCC_HEADER_STDINT): Invoke.
116 * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
117 * btest.c: Don't include <stdint.h>.
119 * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
121 2012-09-18 Ian Lance Taylor <iant@google.com>
124 * Makefile.am (AM_CPPFLAGS): Define.
125 (AM_CFLAGS): Remove -I options.
126 * Makefile.in: Rebuild.
128 2012-09-18 Ian Lance Taylor <iant@google.com>
130 * posix.c (O_BINARY): Define if not defined.
131 (backtrace_open): Pass O_BINARY to open. Only call fcntl if
132 HAVE_FCNTL is defined.
133 * configure.ac: Test for the fcntl function.
134 * configure, config.h.in: Rebuild.
136 2012-09-18 Ian Lance Taylor <iant@google.com>
138 * btest.c (test1, test2, test3, test4): Add the unused attribute.
140 2012-09-18 Ian Lance Taylor <iant@google.com>
142 * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
144 2012-09-18 Ian Lance Taylor <iant@google.com>
146 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
147 * mmapio.c: Don't define _GNU_SOURCE.
148 * configure, config.h.in: Rebuild.
150 2012-09-18 Ian Lance Taylor <iant@google.com>
152 * configure.ac: Check whether strnlen is declared.
153 * dwarf.c: Declare strnlen if not declared.
154 * configure, config.h.in: Rebuild.
156 2012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
158 * fileline.c: Include <stdlib.h>.
161 2012-09-17 Ian Lance Taylor <iant@google.com>
164 * nounwind.c (backtrace_full): Rename from backtrace. Add state
167 2012-09-17 Gerald Pfeifer <gerald@pfeifer.com>
170 * nounwind.c (backtrace_simple): Add state parameter.
172 2012-09-17 Ian Lance Taylor <iant@google.com>
175 * unknown.c (unknown_fileline): Add state parameter, remove
176 fileline_data parameter, name error_callback parameter.
177 (backtrace_initialize): Add state parameter.
179 2012-09-17 Ian Lance Taylor <iant@google.com>
181 * Initial implementation.