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