1 2014-05-22 Release Manager
5 2014-04-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
8 2013-11-15 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10 * configure: Regenerate.
12 2014-02-07 Misty De Meo <misty@brew.sh>
15 * configure.ac: Use AC_LINK_IFELSE in check for
17 * configure: Regenerate.
19 2013-12-05 Ian Lance Taylor <iant@google.com>
21 * alloc.c (backtrace_vector_finish): Add error_callback and data
22 parameters. Call backtrace_vector_release. Return address base.
23 * mmap.c (backtrace_vector_finish): Add error_callback and data
24 parameters. Return address base.
25 * dwarf.c (read_function_info): Get new address base from
26 backtrace_vector_finish.
27 * internal.h (backtrace_vector_finish): Update declaration.
29 2013-11-30 Ian Lance Taylor <iant@google.com>
31 Backport from mainline:
32 2013-10-17 Ian Lance Taylor <iant@google.com>
34 * elf.c (elf_add): Don't get the wrong offsets if a debug section
37 2013-10-16 Release Manager
41 2013-05-31 Release Manager
45 2013-03-25 Ian Lance Taylor <iant@google.com>
47 * alloc.c: #include <sys/types.h>.
50 2013-03-22 Release Manager
54 2013-01-31 Ian Lance Taylor <iant@google.com>
56 * dwarf.c (read_function_info): Permit fvec parameter to be NULL.
57 (dwarf_lookup_pc): Don't use ddata->fvec if threaded.
59 2013-01-25 Jakub Jelinek <jakub@redhat.com>
62 * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir
63 attribute was not seen.
65 2013-01-16 Ian Lance Taylor <iant@google.com>
67 * dwarf.c (struct unit): Add filename and abs_filename fields.
68 (build_address_map): Set new fields when reading unit.
69 (dwarf_lookup_pc): If we don't find an entry in the line table,
70 just return the main file name.
72 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
74 Update copyright years.
76 2013-01-01 Ian Lance Taylor <iant@google.com>
79 * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I
80 $(MULTIBUILDTOP)/../../gcc/include.
81 * Makefile.in: Rebuild.
83 2013-01-01 Ian Lance Taylor <iant@google.com>
86 * mmap.c (backtrace_alloc): Don't call sync functions if not
88 (backtrace_free): Likewise.
90 2012-12-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
92 * mmapio.c: Define MAP_FAILED if not defined.
94 2012-12-11 Jakub Jelinek <jakub@redhat.com>
97 * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@.
98 * configure.ac: If --with-target-subdir, add -frandom-seed=$@
99 to EXTRA_FLAGS unconditionally, otherwise check whether the compiler
101 * Makefile.in: Regenerated.
102 * configure: Regenerated.
104 2012-12-07 Jakub Jelinek <jakub@redhat.com>
107 * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@.
108 * Makefile.in: Regenerated.
110 2012-11-20 Ian Lance Taylor <iant@google.com>
112 * dwarf.c (read_attribute): Always clear val.
114 2012-11-13 Ian Lance Taylor <iant@google.com>
117 * configure.ac: Only add -Werror if building a target library.
118 * configure: Rebuild.
120 2012-11-12 Ian Lance Taylor <iant@google.com>
121 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
122 Gerald Pfeifer <gerald@pfeifer.com>
124 * configure.ac: Check for getexecname.
125 * fileline.c: #include <errno.h>. Define getexecname if not
127 (fileline_initialize): Try to find the executable in a few
129 * print.c (error_callback): Only print the filename if it came
130 from the backtrace state.
131 * configure, config.h.in: Rebuild.
133 2012-10-29 Ian Lance Taylor <iant@google.com>
135 * mmap.c (backtrace_vector_release): Correct last patch: add
138 2012-10-29 Ian Lance Taylor <iant@google.com>
140 * mmap.c (backtrace_vector_release): Make sure freed block is
141 aligned on 8-byte boundary.
143 2012-10-26 Ian Lance Taylor <iant@google.com>
146 * posix.c (backtrace_open): Add does_not_exist parameter.
147 * elf.c (phdr_callback): Do not warn if shared library could not
149 * fileline.c (fileline_initialize): Update calls to
151 * internal.h (backtrace_open): Update declaration.
153 2012-10-26 Jack Howarth <howarth@bromo.med.uc.edu>
156 * configure.ac: Check for _Unwind_GetIPInfo function declaration.
157 * configure: Regenerate.
159 2012-10-24 Ian Lance Taylor <iant@google.com>
162 * configure.ac: Check whether -funwind-tables option works.
163 * configure: Rebuild.
165 2012-10-11 Ian Lance Taylor <iant@google.com>
167 * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
168 * configure: Rebuild.
170 2012-10-10 Ian Lance Taylor <iant@google.com>
172 * elf.c: Rename all Elf typedefs to start with b_elf, and be all
175 2012-10-10 Hans-Peter Nilsson <hp@bitrange.com>
177 * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
179 2012-10-09 Ian Lance Taylor <iant@google.com>
181 * dwarf.c (dwarf_fileline): Add cast to avoid warning.
182 (backtrace_dwarf_add): Likewise.
184 2012-10-09 Ian Lance Taylor <iant@google.com>
186 Add support for tracing through shared libraries.
187 * configure.ac: Check for link.h and dl_iterate_phdr.
188 * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef
189 ELF macros before #defining them.
190 (dl_phdr_info, dl_iterate_phdr): Define if system does not have
192 (struct elf_syminfo_data): Add next field.
193 (elf_initialize_syminfo): Initialize next field.
194 (elf_add_syminfo_data): New static function.
195 (elf_add): New static function, broken out of
196 backtrace_initialize. Call backtrace_dwarf_add instead of
197 backtrace_dwarf_initialize.
198 (struct phdr_data): Define.
199 (phdr_callback): New static function.
200 (backtrace_initialize): Call elf_add.
201 * dwarf.c (struct dwarf_data): Add next and base_address fields.
202 (add_unit_addr): Add base_address parameter. Change all callers.
203 (add_unit_ranges, build_address_map): Likewise.
204 (add_line): Add ddata parameter. Change all callers.
205 (read_line_program, add_function_range): Likewise.
206 (dwarf_lookup_pc): New static function, broken out of
208 (dwarf_fileline): Call dwarf_lookup_pc.
209 (build_dwarf_data): New static function.
210 (backtrace_dwarf_add): New function.
211 (backtrace_dwarf_initialize): Remove.
212 * internal.h (backtrace_dwarf_initialize): Don't declare.
213 (backtrace_dwarf_add): Declare.
214 * configure, config.h.in: Rebuild.
216 2012-10-04 Gerald Pfeifer <gerald@pfeifer.com>
218 * btest.c (f23): Avoid uninitialized variable warning.
220 2012-10-04 Ian Lance Taylor <iant@google.com>
222 * dwarf.c: If the system header files do not declare strnlen,
223 provide our own version.
225 2012-10-03 Ian Lance Taylor <iant@google.com>
227 * dwarf.c (read_uleb128): Fix overflow test.
228 (read_sleb128): Likewise.
229 (build_address_map): Don't change unit_buf.start.
231 2012-10-02 Uros Bizjak <ubizjak@gmail.com>
234 * configure.ac (EXTRA_FLAGS): New.
235 * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
236 * configure, Makefile.in: Regenerate.
238 2012-09-29 Ian Lance Taylor <iant@google.com>
241 * fileline.c (fileline_initialize): Pass errnum as -1 when
242 reporting that we could not read executable information after a
245 2012-09-27 Ian Lance Taylor <iant@google.com>
248 * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
249 * Makefile.am: Add dependencies for all objects.
250 * configure, aclocal.m4, Makefile.in: Rebuild.
252 2012-09-27 Ian Lance Taylor <iant@google.com>
255 * elf.c (backtrace_initialize): Set *fileln_fn, not
258 2012-09-19 Ian Lance Taylor <iant@google.com>
260 * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
262 * configure: Rebuild.
264 2012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
265 Ian Lance Taylor <iant@google.com>
267 * configure.ac (GCC_HEADER_STDINT): Invoke.
268 * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
269 * btest.c: Don't include <stdint.h>.
271 * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
273 2012-09-18 Ian Lance Taylor <iant@google.com>
276 * Makefile.am (AM_CPPFLAGS): Define.
277 (AM_CFLAGS): Remove -I options.
278 * Makefile.in: Rebuild.
280 2012-09-18 Ian Lance Taylor <iant@google.com>
282 * posix.c (O_BINARY): Define if not defined.
283 (backtrace_open): Pass O_BINARY to open. Only call fcntl if
284 HAVE_FCNTL is defined.
285 * configure.ac: Test for the fcntl function.
286 * configure, config.h.in: Rebuild.
288 2012-09-18 Ian Lance Taylor <iant@google.com>
290 * btest.c (test1, test2, test3, test4): Add the unused attribute.
292 2012-09-18 Ian Lance Taylor <iant@google.com>
294 * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
296 2012-09-18 Ian Lance Taylor <iant@google.com>
298 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
299 * mmapio.c: Don't define _GNU_SOURCE.
300 * configure, config.h.in: Rebuild.
302 2012-09-18 Ian Lance Taylor <iant@google.com>
304 * configure.ac: Check whether strnlen is declared.
305 * dwarf.c: Declare strnlen if not declared.
306 * configure, config.h.in: Rebuild.
308 2012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
310 * fileline.c: Include <stdlib.h>.
313 2012-09-17 Ian Lance Taylor <iant@google.com>
316 * nounwind.c (backtrace_full): Rename from backtrace. Add state
319 2012-09-17 Gerald Pfeifer <gerald@pfeifer.com>
322 * nounwind.c (backtrace_simple): Add state parameter.
324 2012-09-17 Ian Lance Taylor <iant@google.com>
327 * unknown.c (unknown_fileline): Add state parameter, remove
328 fileline_data parameter, name error_callback parameter.
329 (backtrace_initialize): Add state parameter.
331 2012-09-17 Ian Lance Taylor <iant@google.com>
333 * Initial implementation.