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