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