]>
Commit | Line | Data |
---|---|---|
121eb024 ST |
1 | 2017-03-08 Sam Thursfield <sam.thursfield@codethink.co.uk> |
2 | ||
3 | * btest.c (test5): Replace #ifdef guard with 'unused' attribute | |
4 | to fix compile warning when BACKTRACE_SUPPORTED isn't defined. | |
5 | ||
cbe34bb5 JJ |
6 | 2017-01-01 Jakub Jelinek <jakub@redhat.com> |
7 | ||
8 | Update copyright years. | |
9 | ||
84c1b9d3 MK |
10 | 2016-11-15 Matthias Klose <doko@ubuntu.com> |
11 | ||
12 | * configure: Regenerate. | |
13 | ||
84ebf639 CL |
14 | 2016-09-11 Carlos Liam <carlos@aarzee.me> |
15 | ||
16 | * all: Remove meaningless trailing whitespace. | |
17 | ||
28644f75 UB |
18 | 2016-05-18 Uros Bizjak <ubizjak@gmail.com> |
19 | ||
20 | PR target/71161 | |
21 | * elf.c (phdr_callback) [__i386__]: Add | |
22 | __attribute__((__force_align_arg_pointer__)). | |
23 | ||
26ac52db MO |
24 | 2016-03-02 Maxim Ostapenko <m.ostapenko@partner.samsung.com> |
25 | ||
26 | * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to | |
27 | avoid possible crash. | |
28 | (elf_add): Don't set *fileline_fn to elf_nodebug value in case of | |
29 | missing debug info anymore. | |
30 | ||
09b08e17 JDA |
31 | 2016-02-06 John David Anglin <danglin@gcc.gnu.org> |
32 | ||
33 | * mmap.c (MAP_FAILED): Define if not defined. | |
34 | ||
818ab71a JJ |
35 | 2016-01-04 Jakub Jelinek <jakub@redhat.com> |
36 | ||
37 | Update copyright years. | |
38 | ||
5b4bbc7d AP |
39 | 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi> |
40 | ||
28644f75 UB |
41 | * configure.ac: Specify that DJGPP do not have mmap |
42 | even when sys/mman.h exists. | |
5b4bbc7d AP |
43 | * configure: Regenerate |
44 | ||
2f401a8f JDA |
45 | 2015-12-09 John David Anglin <danglin@gcc.gnu.org> |
46 | ||
28644f75 | 47 | PR libgfortran/68115 |
2f401a8f JDA |
48 | * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*. |
49 | * configure: Regenerate. | |
50 | * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call | |
51 | to void. | |
52 | ||
750cdaf7 ILT |
53 | 2015-09-17 Ian Lance Taylor <iant@google.com> |
54 | ||
55 | * posix.c (backtrace_open): Cast second argument of open() to int. | |
56 | ||
fc002444 ILT |
57 | 2015-09-11 Ian Lance Taylor <iant@google.com> |
58 | ||
59 | * Makefile.am (backtrace.lo): Depend on internal.h. | |
60 | (sort.lo, stest.lo): Add explicit dependencies. | |
61 | * Makefile.in: Rebuild. | |
62 | ||
50809ff9 HPN |
63 | 2015-09-09 Hans-Peter Nilsson <hp@axis.com> |
64 | ||
65 | * backtrace.c: #include <sys/types.h>. | |
66 | ||
c478516b ILT |
67 | 2015-09-08 Ian Lance Taylor <iant@google.com> |
68 | ||
69 | PR other/67457 | |
70 | * backtrace.c: #include "internal.h". | |
71 | (struct backtrace_data): Add can_alloc field. | |
72 | (unwind): If can_alloc is false, don't try to get file/line | |
73 | information. | |
74 | (backtrace_full): Set can_alloc field in bdata. | |
75 | * alloc.c (backtrace_alloc): Don't call error_callback if it is | |
76 | NULL. | |
77 | * mmap.c (backtrace_alloc): Likewise. | |
78 | * internal.h: Update comments for backtrace_alloc and | |
79 | backtrace_free. | |
80 | ||
981d281f ILT |
81 | 2015-09-08 Ian Lance Taylor <iant@google.com> |
82 | ||
83 | PR other/67457 | |
84 | * mmap.c (backtrace_alloc): Correct test for mmap failure. | |
85 | ||
8f5027bf UW |
86 | 2015-08-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
87 | ||
88 | * configure.ac: For spu-*-* targets, set have_fcntl to no. | |
89 | * configure: Regenerate. | |
90 | ||
7e5c7547 UW |
91 | 2015-08-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
92 | ||
93 | * configure.ac: Remove [disable-shared] argument to LT_INIT. | |
94 | Remove setting PIC_FLAG when building as target library. | |
95 | * configure: Regenerate. | |
96 | ||
7ce9cf39 HPN |
97 | 2015-08-26 Hans-Peter Nilsson <hp@axis.com> |
98 | ||
99 | * configure.ac: Only compile with -fPIC if the target | |
100 | supports it. | |
101 | * configure: Regenerate. | |
102 | ||
1b533361 UW |
103 | 2015-08-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
104 | ||
105 | * configure.ac: Set have_mmap to no on spu-*-* targets. | |
106 | * configure: Regenerate. | |
107 | ||
d96fa208 ILT |
108 | 2015-08-13 Ian Lance Taylor <iant@google.com> |
109 | ||
110 | * dwarf.c (read_function_entry): Add vec_inlined parameter. | |
111 | Change all callers. | |
112 | ||
d99a7b4d MS |
113 | 2015-06-11 Martin Sebor <msebor@redhat.com> |
114 | ||
115 | PR sanitizer/65479 | |
116 | * dwarf.c (struct line): Add new field idx. | |
117 | (line_compare): Use it. | |
118 | (add_line): Set it. | |
119 | (read_line_info): Reset it. | |
120 | ||
e24afc10 TG |
121 | 2015-05-29 Tristan Gingold <gingold@adacore.com> |
122 | ||
123 | * pecoff.c: New file. | |
124 | * Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies. | |
125 | * Makefile.in: Regenerate. | |
126 | * filetype.awk: Detect pecoff. | |
127 | * configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms. | |
128 | Add pecoff. | |
129 | * btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is | |
130 | true. | |
131 | * backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define. | |
132 | * configure: Regenerate. | |
133 | * pecoff.c: New file. | |
134 | ||
df96c0f7 MH |
135 | 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> |
136 | ||
137 | * Makefile.in: Regenerated with automake-1.11.6. | |
138 | * aclocal.m4: Likewise. | |
139 | * configure: Likewise. | |
140 | ||
2b8fa469 MK |
141 | 2015-01-24 Matthias Klose <doko@ubuntu.com> |
142 | ||
143 | * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC. | |
144 | * configure: Regenerate. | |
145 | ||
5624e564 JJ |
146 | 2015-01-05 Jakub Jelinek <jakub@redhat.com> |
147 | ||
148 | Update copyright years. | |
149 | ||
a699d672 L |
150 | 2014-11-21 H.J. Lu <hongjiu.lu@intel.com> |
151 | ||
152 | PR bootstrap/63784 | |
153 | * configure: Regenerated. | |
154 | ||
35485da9 DM |
155 | 2014-11-11 David Malcolm <dmalcolm@redhat.com> |
156 | ||
157 | * ChangeLog.jit: New. | |
158 | ||
ebf6d33b FXC |
159 | 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
160 | ||
161 | PR target/63610 | |
162 | * configure: Regenerate. | |
163 | ||
c96601d2 ILT |
164 | 2014-10-23 Ian Lance Taylor <iant@google.com> |
165 | ||
166 | * internal.h (backtrace_atomic_load_pointer) [no atomic or sync]: | |
167 | Fix to return void *. | |
168 | ||
d573fd89 ILT |
169 | 2014-05-08 Ian Lance Taylor <iant@google.com> |
170 | ||
171 | * mmap.c (backtrace_free): If freeing a large aligned block of | |
172 | memory, call munmap rather than holding onto it. | |
173 | (backtrace_vector_grow): When growing a vector, double the number | |
174 | of pages requested. When releasing the old version of a grown | |
175 | vector, pass the correct size to backtrace_free. | |
176 | ||
dbe20842 ILT |
177 | 2014-03-07 Ian Lance Taylor <iant@google.com> |
178 | ||
179 | * sort.c (backtrace_qsort): Use middle element as pivot. | |
180 | ||
c5604b48 ILT |
181 | 2014-03-06 Ian Lance Taylor <iant@google.com> |
182 | ||
183 | * sort.c: New file. | |
184 | * stest.c: New file. | |
185 | * internal.h (backtrace_qsort): Declare. | |
186 | * dwarf.c (read_abbrevs): Call backtrace_qsort instead of qsort. | |
187 | (read_line_info, read_function_entry): Likewise. | |
188 | (read_function_info, build_dwarf_data): Likewise. | |
189 | * elf.c (elf_initialize_syminfo): Likewise. | |
190 | * Makefile.am (libbacktrace_la_SOURCES): Add sort.c. | |
191 | (stest_SOURCES, stest_LDADD): Define. | |
192 | (check_PROGRAMS): Add stest. | |
193 | ||
63fefb4b MDM |
194 | 2014-02-07 Misty De Meo <misty@brew.sh> |
195 | ||
196 | PR target/58710 | |
197 | * configure.ac: Use AC_LINK_IFELSE in check for | |
198 | _Unwind_GetIPInfo. | |
199 | * configure: Regenerate. | |
200 | ||
afeba5cb RS |
201 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
202 | ||
203 | Update copyright years | |
204 | ||
0284b52e JJ |
205 | 2013-12-06 Jakub Jelinek <jakub@redhat.com> |
206 | ||
207 | * elf.c (ET_DYN): Undefine and define again. | |
208 | (elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN, | |
209 | return early -1 without closing the descriptor. | |
210 | (struct phdr_data): Add exe_descriptor. | |
211 | (phdr_callback): If pd->exe_descriptor is not -1, for very first | |
212 | call if dlpi_name is NULL just call elf_add with the exe_descriptor, | |
213 | otherwise backtrace_close the exe_descriptor if not -1. Adjust | |
214 | call to elf_add. | |
215 | (backtrace_initialize): Adjust call to elf_add. If it returns | |
216 | -1, set pd.exe_descriptor to descriptor, otherwise set it to -1. | |
217 | ||
bfd74f22 ILT |
218 | 2013-12-05 Ian Lance Taylor <iant@google.com> |
219 | ||
220 | * alloc.c (backtrace_vector_finish): Add error_callback and data | |
221 | parameters. Call backtrace_vector_release. Return address base. | |
222 | * mmap.c (backtrace_vector_finish): Add error_callback and data | |
223 | parameters. Return address base. | |
224 | * dwarf.c (read_function_info): Get new address base from | |
225 | backtrace_vector_finish. | |
226 | * internal.h (backtrace_vector_finish): Update declaration. | |
227 | ||
b8ddd61b ILT |
228 | 2013-11-27 Ian Lance Taylor <iant@google.com> |
229 | ||
230 | * dwarf.c (find_address_ranges): New static function, broken out | |
231 | of build_address_map. | |
232 | (build_address_map): Call it. | |
233 | * btest.c (check): Check for missing filename or function, rather | |
234 | than crashing. | |
235 | (f3): Check that enough frames were returned. | |
236 | ||
64856e1e JJ |
237 | 2013-11-19 Jakub Jelinek <jakub@redhat.com> |
238 | ||
1f96a712 JJ |
239 | * backtrace.h (backtrace_syminfo_callback): Add symsize argument. |
240 | * elf.c (elf_syminfo): Pass 0 or sym->size to the callback as | |
241 | last argument. | |
242 | * btest.c (struct symdata): Add size field. | |
243 | (callback_three): Add symsize argument. Copy it to the data->size | |
244 | field. | |
245 | (f23): Set symdata.size to 0. | |
246 | (test5): Likewise. If sizeof (int) > 1, lookup address of | |
247 | ((uintptr_t) &global) + 1. Verify symdata.val and symdata.size | |
248 | values. | |
249 | ||
64856e1e JJ |
250 | * atomic.c: Include sys/types.h. |
251 | ||
49579c7e ILT |
252 | 2013-11-18 Ian Lance Taylor <iant@google.com> |
253 | ||
254 | * configure.ac: Check for support of __atomic extensions. | |
255 | * internal.h: Declare or #define atomic functions for use in | |
256 | backtrace code. | |
257 | * atomic.c: New file. | |
258 | * dwarf.c (dwarf_lookup_pc): Use atomic functions. | |
259 | (dwarf_fileline, backtrace_dwarf_add): Likewise. | |
260 | * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise. | |
261 | (backtrace_initialize): Likewise. | |
262 | * fileline.c (fileline_initialize): Likewise. | |
263 | * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c. | |
264 | * configure, config.h.in, Makefile.in: Rebuild. | |
265 | ||
582f5a2d JJ |
266 | 2013-11-18 Jakub Jelinek <jakub@redhat.com> |
267 | ||
f1857815 JJ |
268 | * elf.c (SHN_UNDEF): Define. |
269 | (elf_initialize_syminfo): Add base_address argument. Ignore symbols | |
270 | with st_shndx == SHN_UNDEF. Add base_address to address fields. | |
271 | (elf_add): Adjust caller. | |
272 | ||
582f5a2d JJ |
273 | * elf.c (phdr_callback): Process info->dlpi_addr == 0 normally. |
274 | ||
25e6253e ILT |
275 | 2013-11-16 Ian Lance Taylor <iant@google.com> |
276 | ||
277 | * backtrace.h (backtrace_create_state): Correct comment about | |
278 | threading. | |
279 | ||
cfa658e4 ILT |
280 | 2013-11-15 Ian Lance Taylor <iant@google.com> |
281 | ||
282 | * backtrace.h (backtrace_syminfo): Update comment and parameter | |
283 | name to take any address, not just a PC value. | |
284 | * elf.c (STT_OBJECT): Define. | |
285 | (elf_nosyms): Rename parameter pc to addr. | |
286 | (elf_symbol_search): Rename local variable pc to addr. | |
287 | (elf_initialize_syminfo): Add STT_OBJECT symbols to elf_symbols. | |
288 | (elf_syminfo): Rename parameter pc to addr. | |
289 | * btest.c (global): New global variable. | |
290 | (test5): New test. | |
291 | (main): Call test5. | |
292 | ||
6c084a5b ILT |
293 | 2013-10-17 Ian Lance Taylor <iant@google.com> |
294 | ||
295 | * elf.c (elf_add): Don't get the wrong offsets if a debug section | |
296 | is missing. | |
297 | ||
459260ec DM |
298 | 2013-10-15 David Malcolm <dmalcolm@redhat.com> |
299 | ||
300 | * configure.ac: Add --enable-host-shared, setting up | |
301 | pre-existing PIC_FLAG variable within Makefile.am et al. | |
302 | * configure: Regenerate. | |
303 | ||
3cbe17f7 AM |
304 | 2013-09-20 Alan Modra <amodra@gmail.com> |
305 | ||
306 | * configure: Regenerate. | |
307 | ||
78625ce6 AM |
308 | 2013-07-23 Alexander Monakov <amonakov@ispras.ru> |
309 | ||
310 | * elf.c (elf_syminfo): Loop over the elf_syminfo_data chain. | |
311 | ||
0153887c AM |
312 | 2013-07-23 Alexander Monakov <amonakov@ispras.ru> |
313 | ||
314 | * elf.c (backtrace_initialize): Pass elf_fileline_fn to | |
315 | dl_iterate_phdr callbacks. | |
316 | ||
85d8c21e ILT |
317 | 2013-03-25 Ian Lance Taylor <iant@google.com> |
318 | ||
319 | * alloc.c: #include <sys/types.h>. | |
320 | * mmap.c: Likewise. | |
321 | ||
38811401 ILT |
322 | 2013-01-31 Ian Lance Taylor <iant@google.com> |
323 | ||
324 | * dwarf.c (read_function_info): Permit fvec parameter to be NULL. | |
325 | (dwarf_lookup_pc): Don't use ddata->fvec if threaded. | |
326 | ||
1e678aed JJ |
327 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
328 | ||
329 | PR other/56076 | |
330 | * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir | |
331 | attribute was not seen. | |
332 | ||
6b514c53 ILT |
333 | 2013-01-16 Ian Lance Taylor <iant@google.com> |
334 | ||
335 | * dwarf.c (struct unit): Add filename and abs_filename fields. | |
336 | (build_address_map): Set new fields when reading unit. | |
337 | (dwarf_lookup_pc): If we don't find an entry in the line table, | |
338 | just return the main file name. | |
339 | ||
f8a7e1a4 RS |
340 | 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com> |
341 | ||
342 | Update copyright years. | |
343 | ||
c3de1960 ILT |
344 | 2013-01-01 Ian Lance Taylor <iant@google.com> |
345 | ||
346 | PR bootstrap/54834 | |
347 | * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I | |
348 | $(MULTIBUILDTOP)/../../gcc/include. | |
349 | * Makefile.in: Rebuild. | |
350 | ||
2a5195d9 ILT |
351 | 2013-01-01 Ian Lance Taylor <iant@google.com> |
352 | ||
353 | PR other/55536 | |
354 | * mmap.c (backtrace_alloc): Don't call sync functions if not | |
355 | threaded. | |
356 | (backtrace_free): Likewise. | |
357 | ||
85619b6f JDA |
358 | 2012-12-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
359 | ||
360 | * mmapio.c: Define MAP_FAILED if not defined. | |
361 | ||
36a58fb3 JJ |
362 | 2012-12-11 Jakub Jelinek <jakub@redhat.com> |
363 | ||
364 | PR bootstrap/54926 | |
365 | * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@. | |
366 | * configure.ac: If --with-target-subdir, add -frandom-seed=$@ | |
367 | to EXTRA_FLAGS unconditionally, otherwise check whether the compiler | |
368 | accepts it. | |
369 | * Makefile.in: Regenerated. | |
370 | * configure: Regenerated. | |
371 | ||
a58dfde0 JJ |
372 | 2012-12-07 Jakub Jelinek <jakub@redhat.com> |
373 | ||
374 | PR bootstrap/54926 | |
375 | * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@. | |
376 | * Makefile.in: Regenerated. | |
377 | ||
b20ade36 ILT |
378 | 2012-11-20 Ian Lance Taylor <iant@google.com> |
379 | ||
380 | * dwarf.c (read_attribute): Always clear val. | |
381 | ||
73c3ed27 ILT |
382 | 2012-11-13 Ian Lance Taylor <iant@google.com> |
383 | ||
384 | PR other/55312 | |
385 | * configure.ac: Only add -Werror if building a target library. | |
2a5195d9 | 386 | * configure: Rebuild. |
73c3ed27 | 387 | |
33521509 ILT |
388 | 2012-11-12 Ian Lance Taylor <iant@google.com> |
389 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
390 | Gerald Pfeifer <gerald@pfeifer.com> | |
391 | ||
392 | * configure.ac: Check for getexecname. | |
393 | * fileline.c: #include <errno.h>. Define getexecname if not | |
394 | available. | |
395 | (fileline_initialize): Try to find the executable in a few | |
396 | different ways. | |
397 | * print.c (error_callback): Only print the filename if it came | |
398 | from the backtrace state. | |
399 | * configure, config.h.in: Rebuild. | |
400 | ||
8fe91dea ILT |
401 | 2012-10-29 Ian Lance Taylor <iant@google.com> |
402 | ||
403 | * mmap.c (backtrace_vector_release): Correct last patch: add | |
404 | aligned, not size. | |
405 | ||
8277de34 ILT |
406 | 2012-10-29 Ian Lance Taylor <iant@google.com> |
407 | ||
408 | * mmap.c (backtrace_vector_release): Make sure freed block is | |
409 | aligned on 8-byte boundary. | |
410 | ||
73f41491 ILT |
411 | 2012-10-26 Ian Lance Taylor <iant@google.com> |
412 | ||
413 | PR other/55087 | |
414 | * posix.c (backtrace_open): Add does_not_exist parameter. | |
415 | * elf.c (phdr_callback): Do not warn if shared library could not | |
416 | be opened. | |
417 | * fileline.c (fileline_initialize): Update calls to | |
418 | backtrace_open. | |
419 | * internal.h (backtrace_open): Update declaration. | |
420 | ||
385710cf JH |
421 | 2012-10-26 Jack Howarth <howarth@bromo.med.uc.edu> |
422 | ||
423 | PR target/55061 | |
424 | * configure.ac: Check for _Unwind_GetIPInfo function declaration. | |
425 | * configure: Regenerate. | |
426 | ||
32061319 ILT |
427 | 2012-10-24 Ian Lance Taylor <iant@google.com> |
428 | ||
429 | PR target/55061 | |
430 | * configure.ac: Check whether -funwind-tables option works. | |
431 | * configure: Rebuild. | |
432 | ||
5551b12c ILT |
433 | 2012-10-11 Ian Lance Taylor <iant@google.com> |
434 | ||
435 | * configure.ac: Do not use dl_iterate_phdr on Solaris 10. | |
436 | * configure: Rebuild. | |
437 | ||
40d15b5b ILT |
438 | 2012-10-10 Ian Lance Taylor <iant@google.com> |
439 | ||
440 | * elf.c: Rename all Elf typedefs to start with b_elf, and be all | |
441 | lower case. | |
442 | ||
74f80620 HPN |
443 | 2012-10-10 Hans-Peter Nilsson <hp@bitrange.com> |
444 | ||
445 | * elf.c (elf_add_syminfo_data): Add casts to avoid warning. | |
446 | ||
ce8aa074 ILT |
447 | 2012-10-09 Ian Lance Taylor <iant@google.com> |
448 | ||
449 | * dwarf.c (dwarf_fileline): Add cast to avoid warning. | |
450 | (backtrace_dwarf_add): Likewise. | |
451 | ||
e561a992 ILT |
452 | 2012-10-09 Ian Lance Taylor <iant@google.com> |
453 | ||
454 | Add support for tracing through shared libraries. | |
455 | * configure.ac: Check for link.h and dl_iterate_phdr. | |
456 | * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef | |
457 | ELF macros before #defining them. | |
458 | (dl_phdr_info, dl_iterate_phdr): Define if system does not have | |
459 | dl_iterate_phdr. | |
460 | (struct elf_syminfo_data): Add next field. | |
461 | (elf_initialize_syminfo): Initialize next field. | |
462 | (elf_add_syminfo_data): New static function. | |
463 | (elf_add): New static function, broken out of | |
464 | backtrace_initialize. Call backtrace_dwarf_add instead of | |
465 | backtrace_dwarf_initialize. | |
466 | (struct phdr_data): Define. | |
467 | (phdr_callback): New static function. | |
468 | (backtrace_initialize): Call elf_add. | |
469 | * dwarf.c (struct dwarf_data): Add next and base_address fields. | |
470 | (add_unit_addr): Add base_address parameter. Change all callers. | |
471 | (add_unit_ranges, build_address_map): Likewise. | |
472 | (add_line): Add ddata parameter. Change all callers. | |
473 | (read_line_program, add_function_range): Likewise. | |
474 | (dwarf_lookup_pc): New static function, broken out of | |
475 | dwarf_fileline. | |
476 | (dwarf_fileline): Call dwarf_lookup_pc. | |
477 | (build_dwarf_data): New static function. | |
478 | (backtrace_dwarf_add): New function. | |
479 | (backtrace_dwarf_initialize): Remove. | |
480 | * internal.h (backtrace_dwarf_initialize): Don't declare. | |
481 | (backtrace_dwarf_add): Declare. | |
482 | * configure, config.h.in: Rebuild. | |
483 | ||
068ef6d1 GP |
484 | 2012-10-04 Gerald Pfeifer <gerald@pfeifer.com> |
485 | ||
486 | * btest.c (f23): Avoid uninitialized variable warning. | |
e561a992 | 487 | |
244e2d9c ILT |
488 | 2012-10-04 Ian Lance Taylor <iant@google.com> |
489 | ||
490 | * dwarf.c: If the system header files do not declare strnlen, | |
491 | provide our own version. | |
492 | ||
be4ba8ae ILT |
493 | 2012-10-03 Ian Lance Taylor <iant@google.com> |
494 | ||
495 | * dwarf.c (read_uleb128): Fix overflow test. | |
496 | (read_sleb128): Likewise. | |
497 | (build_address_map): Don't change unit_buf.start. | |
498 | ||
56195009 UB |
499 | 2012-10-02 Uros Bizjak <ubizjak@gmail.com> |
500 | ||
faf86a02 UB |
501 | PR other/54761 |
502 | * configure.ac (EXTRA_FLAGS): New. | |
56195009 | 503 | * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS). |
faf86a02 | 504 | * configure, Makefile.in: Regenerate. |
56195009 | 505 | |
8a447b3d ILT |
506 | 2012-09-29 Ian Lance Taylor <iant@google.com> |
507 | ||
508 | PR other/54749 | |
509 | * fileline.c (fileline_initialize): Pass errnum as -1 when | |
510 | reporting that we could not read executable information after a | |
511 | previous failure. | |
512 | ||
af710874 ILT |
513 | 2012-09-27 Ian Lance Taylor <iant@google.com> |
514 | ||
515 | PR bootstrap/54732 | |
516 | * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE. | |
517 | * Makefile.am: Add dependencies for all objects. | |
518 | * configure, aclocal.m4, Makefile.in: Rebuild. | |
519 | ||
588f4f8f ILT |
520 | 2012-09-27 Ian Lance Taylor <iant@google.com> |
521 | ||
522 | PR other/54726 | |
523 | * elf.c (backtrace_initialize): Set *fileln_fn, not | |
524 | state->fileln_fn. | |
525 | ||
64b89453 ILT |
526 | 2012-09-19 Ian Lance Taylor <iant@google.com> |
527 | ||
528 | * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled | |
529 | as a target library. | |
530 | * configure: Rebuild. | |
531 | ||
76850556 RO |
532 | 2012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
533 | Ian Lance Taylor <iant@google.com> | |
534 | ||
535 | * configure.ac (GCC_HEADER_STDINT): Invoke. | |
536 | * backtrace.h: If we can't find <stdint.h>, use "gstdint.h". | |
537 | * btest.c: Don't include <stdint.h>. | |
538 | * dwarf.c: Likewise. | |
539 | * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild. | |
540 | ||
9425c00b ILT |
541 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
542 | ||
543 | PR bootstrap/54623 | |
544 | * Makefile.am (AM_CPPFLAGS): Define. | |
545 | (AM_CFLAGS): Remove -I options. | |
546 | * Makefile.in: Rebuild. | |
547 | ||
3319ef17 ILT |
548 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
549 | ||
550 | * posix.c (O_BINARY): Define if not defined. | |
551 | (backtrace_open): Pass O_BINARY to open. Only call fcntl if | |
552 | HAVE_FCNTL is defined. | |
553 | * configure.ac: Test for the fcntl function. | |
554 | * configure, config.h.in: Rebuild. | |
555 | ||
bd3e497d ILT |
556 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
557 | ||
558 | * btest.c (test1, test2, test3, test4): Add the unused attribute. | |
559 | ||
30e15876 ILT |
560 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
561 | ||
562 | * dwarf.c: Correct test of HAVE_DECL_STRNLEN. | |
563 | ||
d4c059d5 ILT |
564 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
565 | ||
566 | * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS. | |
567 | * mmapio.c: Don't define _GNU_SOURCE. | |
568 | * configure, config.h.in: Rebuild. | |
569 | ||
772a71a9 ILT |
570 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
571 | ||
572 | * configure.ac: Check whether strnlen is declared. | |
573 | * dwarf.c: Declare strnlen if not declared. | |
574 | * configure, config.h.in: Rebuild. | |
575 | ||
c0558468 RO |
576 | 2012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
577 | ||
578 | * fileline.c: Include <stdlib.h>. | |
579 | * mmap.c: Likewise. | |
580 | ||
c5812e0b ILT |
581 | 2012-09-17 Ian Lance Taylor <iant@google.com> |
582 | ||
583 | PR bootstrap/54611 | |
584 | * nounwind.c (backtrace_full): Rename from backtrace. Add state | |
585 | parameter. | |
586 | ||
e8f4008a GP |
587 | 2012-09-17 Gerald Pfeifer <gerald@pfeifer.com> |
588 | ||
589 | PR bootstrap/54611 | |
590 | * nounwind.c (backtrace_simple): Add state parameter. | |
591 | ||
f588eb27 ILT |
592 | 2012-09-17 Ian Lance Taylor <iant@google.com> |
593 | ||
594 | PR bootstrap/54609 | |
595 | * unknown.c (unknown_fileline): Add state parameter, remove | |
596 | fileline_data parameter, name error_callback parameter. | |
597 | (backtrace_initialize): Add state parameter. | |
598 | ||
eff02e4f ILT |
599 | 2012-09-17 Ian Lance Taylor <iant@google.com> |
600 | ||
601 | * Initial implementation. | |
818ab71a | 602 | \f |
cbe34bb5 | 603 | Copyright (C) 2012-2017 Free Software Foundation, Inc. |
818ab71a JJ |
604 | |
605 | Copying and distribution of this file, with or without modification, | |
606 | are permitted in any medium without royalty provided the copyright | |
607 | notice and this notice are preserved. |