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