]> git.cworth.org Git - apitrace/blob - thirdparty/libbacktrace/ChangeLog
2fd4e8a3e6369757ab5fcc6c0ffcfb21da42e5c0
[apitrace] / thirdparty / libbacktrace / ChangeLog
1 2013-03-25  Ian Lance Taylor  <iant@google.com>
2
3         * alloc.c: #include <sys/types.h>.
4         * mmap.c: Likewise.
5
6 2013-01-31  Ian Lance Taylor  <iant@google.com>
7
8         * dwarf.c (read_function_info): Permit fvec parameter to be NULL.
9         (dwarf_lookup_pc): Don't use ddata->fvec if threaded.
10
11 2013-01-25  Jakub Jelinek  <jakub@redhat.com>
12
13         PR other/56076
14         * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir
15         attribute was not seen.
16
17 2013-01-16  Ian Lance Taylor  <iant@google.com>
18
19         * dwarf.c (struct unit): Add filename and abs_filename fields.
20         (build_address_map): Set new fields when reading unit.
21         (dwarf_lookup_pc): If we don't find an entry in the line table,
22         just return the main file name.
23
24 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
25
26         Update copyright years.
27
28 2013-01-01  Ian Lance Taylor  <iant@google.com>
29
30         PR bootstrap/54834
31         * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I
32         $(MULTIBUILDTOP)/../../gcc/include.
33         * Makefile.in: Rebuild.
34
35 2013-01-01  Ian Lance Taylor  <iant@google.com>
36
37         PR other/55536
38         * mmap.c (backtrace_alloc): Don't call sync functions if not
39         threaded.
40         (backtrace_free): Likewise.
41
42 2012-12-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
43
44         * mmapio.c: Define MAP_FAILED if not defined.
45
46 2012-12-11  Jakub Jelinek  <jakub@redhat.com>
47
48         PR bootstrap/54926
49         * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@.
50         * configure.ac: If --with-target-subdir, add -frandom-seed=$@
51         to EXTRA_FLAGS unconditionally, otherwise check whether the compiler
52         accepts it.
53         * Makefile.in: Regenerated.
54         * configure: Regenerated.
55
56 2012-12-07  Jakub Jelinek  <jakub@redhat.com>
57
58         PR bootstrap/54926
59         * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@.
60         * Makefile.in: Regenerated.
61
62 2012-11-20  Ian Lance Taylor  <iant@google.com>
63
64         * dwarf.c (read_attribute): Always clear val.
65
66 2012-11-13  Ian Lance Taylor  <iant@google.com>
67
68         PR other/55312
69         * configure.ac: Only add -Werror if building a target library.
70         * configure: Rebuild.
71
72 2012-11-12  Ian Lance Taylor  <iant@google.com>
73             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
74             Gerald Pfeifer  <gerald@pfeifer.com>
75
76         * configure.ac: Check for getexecname.
77         * fileline.c: #include <errno.h>.  Define getexecname if not
78         available.
79         (fileline_initialize): Try to find the executable in a few
80         different ways.
81         * print.c (error_callback): Only print the filename if it came
82         from the backtrace state.
83         * configure, config.h.in: Rebuild.
84
85 2012-10-29  Ian Lance Taylor  <iant@google.com>
86
87         * mmap.c (backtrace_vector_release): Correct last patch: add
88         aligned, not size.
89
90 2012-10-29  Ian Lance Taylor  <iant@google.com>
91
92         * mmap.c (backtrace_vector_release): Make sure freed block is
93         aligned on 8-byte boundary.
94
95 2012-10-26  Ian Lance Taylor  <iant@google.com>
96
97         PR other/55087
98         * posix.c (backtrace_open): Add does_not_exist parameter.
99         * elf.c (phdr_callback): Do not warn if shared library could not
100         be opened.
101         * fileline.c (fileline_initialize): Update calls to
102         backtrace_open.
103         * internal.h (backtrace_open): Update declaration.
104
105 2012-10-26  Jack Howarth  <howarth@bromo.med.uc.edu>
106
107         PR target/55061
108         * configure.ac: Check for _Unwind_GetIPInfo function declaration.
109         * configure: Regenerate.
110
111 2012-10-24  Ian Lance Taylor  <iant@google.com>
112
113         PR target/55061
114         * configure.ac: Check whether -funwind-tables option works.
115         * configure: Rebuild.
116
117 2012-10-11  Ian Lance Taylor  <iant@google.com>
118
119         * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
120         * configure: Rebuild.
121
122 2012-10-10  Ian Lance Taylor  <iant@google.com>
123
124         * elf.c: Rename all Elf typedefs to start with b_elf, and be all
125         lower case.
126
127 2012-10-10  Hans-Peter Nilsson  <hp@bitrange.com>
128
129         * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
130
131 2012-10-09  Ian Lance Taylor  <iant@google.com>
132
133         * dwarf.c (dwarf_fileline): Add cast to avoid warning.
134         (backtrace_dwarf_add): Likewise.
135
136 2012-10-09  Ian Lance Taylor  <iant@google.com>
137
138         Add support for tracing through shared libraries.
139         * configure.ac: Check for link.h and dl_iterate_phdr.
140         * elf.c: #include <link.h> if system has dl_iterate_phdr.  #undef
141         ELF macros before #defining them.
142         (dl_phdr_info, dl_iterate_phdr): Define if system does not have
143         dl_iterate_phdr.
144         (struct elf_syminfo_data): Add next field.
145         (elf_initialize_syminfo): Initialize next field.
146         (elf_add_syminfo_data): New static function.
147         (elf_add): New static function, broken out of
148         backtrace_initialize.  Call backtrace_dwarf_add instead of
149         backtrace_dwarf_initialize.
150         (struct phdr_data): Define.
151         (phdr_callback): New static function.
152         (backtrace_initialize): Call elf_add.
153         * dwarf.c (struct dwarf_data): Add next and base_address fields.
154         (add_unit_addr): Add base_address parameter.  Change all callers.
155         (add_unit_ranges, build_address_map): Likewise.
156         (add_line): Add ddata parameter.  Change all callers.
157         (read_line_program, add_function_range): Likewise.
158         (dwarf_lookup_pc): New static function, broken out of
159         dwarf_fileline.
160         (dwarf_fileline): Call dwarf_lookup_pc.
161         (build_dwarf_data): New static function.
162         (backtrace_dwarf_add): New function.
163         (backtrace_dwarf_initialize): Remove.
164         * internal.h (backtrace_dwarf_initialize): Don't declare.
165         (backtrace_dwarf_add): Declare.
166         * configure, config.h.in: Rebuild.
167
168 2012-10-04  Gerald Pfeifer  <gerald@pfeifer.com>
169
170         * btest.c (f23): Avoid uninitialized variable warning.
171
172 2012-10-04  Ian Lance Taylor  <iant@google.com>
173
174         * dwarf.c: If the system header files do not declare strnlen,
175         provide our own version.
176
177 2012-10-03  Ian Lance Taylor  <iant@google.com>
178
179         * dwarf.c (read_uleb128): Fix overflow test.
180         (read_sleb128): Likewise.
181         (build_address_map): Don't change unit_buf.start.
182
183 2012-10-02  Uros Bizjak  <ubizjak@gmail.com>
184
185         PR other/54761
186         * configure.ac (EXTRA_FLAGS): New.
187         * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
188         * configure, Makefile.in: Regenerate.
189
190 2012-09-29  Ian Lance Taylor  <iant@google.com>
191
192         PR other/54749
193         * fileline.c (fileline_initialize): Pass errnum as -1 when
194         reporting that we could not read executable information after a
195         previous failure.
196
197 2012-09-27  Ian Lance Taylor  <iant@google.com>
198
199         PR bootstrap/54732
200         * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
201         * Makefile.am: Add dependencies for all objects.
202         * configure, aclocal.m4, Makefile.in: Rebuild.
203
204 2012-09-27  Ian Lance Taylor  <iant@google.com>
205
206         PR other/54726
207         * elf.c (backtrace_initialize): Set *fileln_fn, not
208         state->fileln_fn.
209
210 2012-09-19  Ian Lance Taylor  <iant@google.com>
211
212         * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
213         as a target library.
214         * configure: Rebuild.
215
216 2012-09-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
217             Ian Lance Taylor  <iant@google.com>
218
219         * configure.ac (GCC_HEADER_STDINT): Invoke.
220         * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
221         * btest.c: Don't include <stdint.h>.
222         * dwarf.c: Likewise.
223         * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
224
225 2012-09-18  Ian Lance Taylor  <iant@google.com>
226
227         PR bootstrap/54623
228         * Makefile.am (AM_CPPFLAGS): Define.
229         (AM_CFLAGS): Remove -I options.
230         * Makefile.in: Rebuild.
231
232 2012-09-18  Ian Lance Taylor  <iant@google.com>
233
234         * posix.c (O_BINARY): Define if not defined.
235         (backtrace_open): Pass O_BINARY to open.  Only call fcntl if
236         HAVE_FCNTL is defined.
237         * configure.ac: Test for the fcntl function.
238         * configure, config.h.in: Rebuild.
239
240 2012-09-18  Ian Lance Taylor  <iant@google.com>
241
242         * btest.c (test1, test2, test3, test4): Add the unused attribute.
243
244 2012-09-18  Ian Lance Taylor  <iant@google.com>
245
246         * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
247
248 2012-09-18  Ian Lance Taylor  <iant@google.com>
249
250         * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
251         * mmapio.c: Don't define _GNU_SOURCE.
252         * configure, config.h.in: Rebuild.
253
254 2012-09-18  Ian Lance Taylor  <iant@google.com>
255
256         * configure.ac: Check whether strnlen is declared.
257         * dwarf.c: Declare strnlen if not declared.
258         * configure, config.h.in: Rebuild.
259
260 2012-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
261
262         * fileline.c: Include <stdlib.h>.
263         * mmap.c: Likewise.
264
265 2012-09-17  Ian Lance Taylor  <iant@google.com>
266
267         PR bootstrap/54611
268         * nounwind.c (backtrace_full): Rename from backtrace.  Add state
269         parameter.
270
271 2012-09-17  Gerald Pfeifer  <gerald@pfeifer.com>
272
273         PR bootstrap/54611
274         * nounwind.c (backtrace_simple): Add state parameter.
275
276 2012-09-17  Ian Lance Taylor  <iant@google.com>
277
278         PR bootstrap/54609
279         * unknown.c (unknown_fileline): Add state parameter, remove
280         fileline_data parameter, name error_callback parameter.
281         (backtrace_initialize): Add state parameter.
282
283 2012-09-17  Ian Lance Taylor  <iant@google.com>
284
285         * Initial implementation.