145
|
1 2020-02-03 Ian Lance Taylor <iant@golang.org>
|
|
2
|
|
3 * Makefile.am (libbacktrace_TEST_CFLAGS): Define.
|
|
4 (test_elf32_CFLAGS): Use $(libbacktrace_test_CFLAGS).
|
|
5 (test_elf_64_CFLAGS, test_xcoff_32_CFLAGS): Likewise.
|
|
6 (test_xcoff_64_CFLAGS, test_pecoff_CFLAGS): Likewise.
|
|
7 (test_unknown_CFLAGS, unittest_CFLAGS): Likewise.
|
|
8 (unittest_alloc_CFLAGS, allocfail_CFLAGS): Likewise.
|
|
9 (b2test_CFLAGS, b3test_CFLAGS, btest_CFLAGS): Likewise.
|
|
10 (btest_lto_CFLAGS, btest_alloc_CFLAGS, stest_CFLAGS): Likewise.
|
|
11 (stest_alloc_CFLAGS): Likewise.
|
|
12 * Makefile.in: Regenerate.
|
|
13 * ztest.c (error_callback_compress): Mark vdata unused.
|
|
14 (test_large): Add casts to avoid warnings.
|
|
15
|
|
16 2020-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
17
|
|
18 Update copyright years.
|
|
19
|
|
20 2019-12-13 Ian Lance Taylor <iant@golang.org>
|
|
21
|
|
22 Add DWARF 5 support.
|
|
23 * dwarf.c (struct attr): Add val field.
|
|
24 (enum attr_val_encoding): Add ATTR_VAL_ADDDRESS_INDEX,
|
|
25 ATTR_VAL_STRING_INDEX, ATTR_VAL_RNGLISTS_INDEX.
|
|
26 (struct line_header): Add addrsize field.
|
|
27 (struct line_header_format): Define.
|
|
28 (struct unit): Add str_offsets_base, addr_base, and rnglists_base
|
|
29 fields.
|
|
30 (read_uint24): New static function.
|
|
31 (read_attribute): Add implicit_val parameter. Replace dwarf_str
|
|
32 and dwarf_str_size parameters with dwarf_sections parameter. Add
|
|
33 support for new DWARF 5 forms. Change all callers.
|
|
34 (resolve_string): New static function.
|
|
35 (resolve_addr_index): Likewise.
|
|
36 (read_abbrevs): Support DW_FORM_implicit_const.
|
|
37 (struct pcrange): Add lowpc_is_addr_index, highpc_is_addr_Index,
|
|
38 and ranges_is_index fields.
|
|
39 (update_pcrange): Support DWARF 5 encodings.
|
|
40 (add_high_low_range): New static function, split out of
|
|
41 add_ranges.
|
|
42 (add_ranges_from_ranges): Likewise.
|
|
43 (add_ranges_from_rnglists): New static function.
|
|
44 (add_ranges): Just call new helper functions.
|
|
45 (find_address_ranges): Use resolve_string for strings, after
|
|
46 reading all attributes. Handle new DWARF 5 attributes.
|
|
47 (build_address_map): Support DWARF 5 compilation units.
|
|
48 (read_v2_paths): New static function, split out of
|
|
49 read_line_header.
|
|
50 (read_lnct): New static function.
|
|
51 (read_line_header_format_entries): Likewise.
|
|
52 (read_line_header): Add ddata parameter. Support DWARF 5 line
|
|
53 headers. Call new helper functions. Change all callers.
|
|
54 (read_line_program): Use addrsize from line program header. Don't
|
|
55 special case directory index 0 for DWARF 5.
|
|
56 (read_referenced_name): Use resolve_string.
|
|
57 (read_function_entry): Handle DWARF 5 encodings. Use
|
|
58 resolve_string.
|
|
59 * internal.h (enum dwarf_section): Add DEBUG_ADDR,
|
|
60 DEBUG_STR_OFFSETS, DEBUG_LINE_STR, DEBUG_RNGLISTS.
|
|
61 * elf.c (dwarf_section_names): Add new section names.
|
|
62 * pecoff.c (dwarf_section_names): Likewise.
|
|
63 * xcoff.c (xcoff_add): Clear dwarf_sections before setting
|
|
64 fields.
|
|
65 * configure.ac: Define HAVE_DWARF5 automake conditional.
|
|
66 * Makefile.am (dwarf5_SOURCES): New variable if HAVE_DWARF5.
|
|
67 (dwarf5_CFLAGS, dwarf5_LDADD): Likewise.
|
|
68 (dwarf5_alloc_SOURCES, dwarf5_alloc_CFLAGS): Likewise.
|
|
69 (dwarf5_alloc_LDADD): Likewise.
|
|
70 (BUILDTESTS): Add dwarf5 tests if HAVE_DWARF5.
|
|
71 (CLEANFILES, clean-local): Define.
|
|
72
|
|
73 2019-12-08 Ian Lance Taylor <iant@golang.org>
|
|
74
|
|
75 * dwarf.c (struct pcrange): Define.
|
|
76 (update_pcrange, add_ranges): New static functions.
|
|
77 (add_unit_addr): Change signature to work with add_ranges. Don't
|
|
78 add base_address here.
|
|
79 (add_unit_ranges): Remove.
|
|
80 (find_address_ranges): Replace str/ranges parameters with
|
|
81 dwarf_sections. Use update_pcrange and add_ranges. Change all
|
|
82 callers.
|
|
83 (add_function_range): Change signature to work with add_ranges.
|
|
84 Don't add base_address here.
|
|
85 (add_function_ranges): Remove.
|
|
86 (read_function_entry): Use update_pcrange and add_ranges.
|
|
87
|
|
88 2019-12-04 Ian Lance Taylor <iant@golang.org>
|
|
89
|
|
90 * edtest.c (test1): Add noclone attribute.
|
|
91
|
|
92 2019-12-04 Ian Lance Taylor <iant@golang.org>
|
|
93
|
|
94 * internal.h (enum dwarf_section): Define.
|
|
95 (struct dwarf_sections): Define.
|
|
96 (backtrace_dwarf_add): Update declaration to replace specific
|
|
97 section parameters with dwarf_sections parameter.
|
|
98 * dwarf.c (struct dwarf_data): Replace specific section fields
|
|
99 with dwarf_sections field.
|
|
100 (read_attribute): Use dwarf_sections with altlink.
|
|
101 (build_address_map): Replace specific section parameters with
|
|
102 dwarf_sections parameter. Change all callers.
|
|
103 (read_line_info): Use dwarf_sections with ddata.
|
|
104 (read_referenced_name): Likewise.
|
|
105 (add_function_ranges): Likewise.
|
|
106 (read_function_entry): Likewise.
|
|
107 (read_function_info): Likewise.
|
|
108 (build_dwarf_data): Replace specific section parameters with
|
|
109 dwarf_sections parameter. Change all callers.
|
|
110 (backtrace_dwarf_add): Likewise.
|
|
111 * elf.c (enum debug_section): Remove.
|
|
112 (dwarf_section_names): Remove .zdebug names.
|
|
113 (elf_add): Track zsections separately. Build dwarf_sections.
|
|
114 * pecoff.c (enum debug_section): Remove.
|
|
115 (struct debug_section_info): Remove data field.
|
|
116 (coff_add): Build dwarf_sections.
|
|
117 * xcoff.c (enum dwarf_section): Remove. Replace DWSECT_xxx
|
|
118 references with DEBUG_xxx references.
|
|
119 (xcoff_add): Build dwarf_sections.
|
|
120
|
|
121 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
|
|
122
|
|
123 * configure: Regenerate.
|
|
124
|
|
125 2019-09-26 Ian Lance Taylor <iant@golang.org>
|
|
126
|
|
127 PR libbacktrace/91908
|
|
128 * pecoff.c (backtrace_initialize): Explicitly cast unchecked
|
|
129 __sync_bool_compare_and_swap to void.
|
|
130 * xcoff.c (backtrace_initialize): Likewise.
|
|
131
|
|
132 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
|
|
133
|
|
134 * configure.ac: Remove references to spu.
|
|
135 * configure: Regenerate.
|
|
136
|
|
137 2019-05-24 Clement Chigot <clement.chigot@atos.net>
|
|
138
|
|
139 * Makefile.am (BUILDTESTS): Remove test_elf, add test_elf_32 and
|
|
140 test_elf_64.
|
|
141 * Makefile.in: Regenerate.
|
|
142
|
|
143 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
144
|
|
145 * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
|
|
146 handling.
|
|
147 * configure: Regenerate.
|
|
148
|
|
149 2019-03-11 Ian Lance Taylor <iant@golang.org>
|
|
150
|
|
151 PR libbacktrace/89669
|
|
152 * Makefile.am (BUILDTESTS): Only add ztest and ztest_alloc if
|
|
153 HAVE_ELF.
|
|
154 * Makefile.in: Regenerate.
|
|
155
|
|
156 2019-02-26 Tom de Vries <tdevries@suse.de>
|
|
157
|
|
158 * btest.c (test5): Allow global.* as minimal symbol name for global.
|
|
159
|
|
160 2019-02-26 Tom de Vries <tdevries@suse.de>
|
|
161
|
|
162 * Makefile.am (TESTS): Only add b3test_dwz_buildid if HAVE_DWZ.
|
|
163 * Makefile.in: Regenerate.
|
|
164
|
|
165 2019-02-12 Tom de Vries <tdevries@suse.de>
|
|
166
|
|
167 PR libbacktrace/81983
|
|
168 * dwarf.c (dwarf_lookup_pc): Don't call bsearch if nmemb == 0.
|
|
169
|
|
170 2019-02-10 Tom de Vries <tdevries@suse.de>
|
|
171
|
|
172 * Makefile.am (BUILDTESTS): Add btest_lto.
|
|
173 * Makefile.in: Regenerate.
|
|
174 * btest.c (test1, f2, f3, test3, f22, f23): Declare with
|
|
175 __attribute__((noclone)).
|
|
176
|
|
177 2019-02-08 Tom de Vries <tdevries@suse.de>
|
|
178
|
|
179 * backtrace.c (backtrace_full): Declare with __attribute__((noinline)).
|
|
180 * print.c (backtrace_print): Same.
|
|
181 * simple.c (backtrace_simple): Same.
|
|
182
|
|
183 2019-02-08 Tom de Vries <tdevries@suse.de>
|
|
184
|
|
185 PR libbacktrace/78063
|
|
186 * dwarf.c (build_address_map): Keep all parsed units.
|
|
187 (read_referenced_name_from_attr): Handle DW_FORM_ref_addr.
|
|
188
|
|
189 2019-01-31 Tom de Vries <tdevries@suse.de>
|
|
190
|
|
191 PR libbacktrace/89136
|
|
192 * elf.c (elf_add): Read build-id if with_buildid_data. Fix
|
|
193 'debugaltlink_name_len =+ 1'.
|
|
194
|
|
195 2019-01-29 Tom de Vries <tdevries@suse.de>
|
|
196
|
|
197 * install-debuginfo-for-buildid.sh.in: New script.
|
|
198 * Makefile.am (check_PROGRAMS): Add b2test and b3test.
|
|
199 (TESTS): Add b2test_buildid and b3test_dwz_buildid.
|
|
200 * Makefile.in: Regenerate.
|
|
201 * configure.ac (HAVE_ELF): Set with AM_CONDITIONAL.
|
|
202 (READELF): Set with AC_CHECK_PROG.
|
|
203 (install-debuginfo-for-buildid.sh): Generate with AC_CONFIG_FILES.
|
|
204 * configure: Regenerate.
|
|
205 * elf.c (SYSTEM_BUILD_ID_DIR): Factor out of ...
|
|
206 (elf_open_debugfile_by_buildid): ... here.
|
|
207
|
|
208 2019-01-29 Tom de Vries <tdevries@suse.de>
|
|
209
|
|
210 * Makefile.am: Replace check_PROGRAMS with BUILDTESTS, except for
|
|
211 allocfail.
|
|
212 (TESTS): Don't add check_PROGRAMS. Add BUILDTESTS.
|
|
213 (check_PROGRAMS): Add BUILDTESTS.
|
|
214 * Makefile.in: Regenerate.
|
|
215
|
|
216 2019-01-28 Tom de Vries <tdevries@suse.de>
|
|
217
|
|
218 * Makefile.am (xcoff_%.c): Generate sed result into temporary file.
|
|
219 Use $< to access prerequisite.
|
|
220 * Makefile.in: Regenerate.
|
|
221
|
|
222 2019-01-25 Nathan Sidwell <nathan@acm.org>
|
|
223
|
|
224 * elf.c (elf_add): Pass "" filename to recursive call with
|
|
225 separated debug.
|
|
226
|
|
227 2019-01-25 Tom de Vries <tdevries@suse.de>
|
|
228
|
|
229 * elf.c (elf_add): When handling .gnu_debugaltlink, call elf_add with
|
|
230 filename == "".
|
|
231 * Makefile.am (TESTS): Add btest_dwz_gnudebuglink.
|
|
232 * Makefile.in: Regenerate.
|
|
233
|
|
234 2019-01-25 Tom de Vries <tdevries@suse.de>
|
|
235
|
|
236 * Makefile.am: Rewrite dtest rule into "%_gnudebuglink" pattern rule.
|
|
237 (TESTS): Rename dtest to btest_gnudebuglink.
|
|
238 * Makefile.in: Regenerate.
|
|
239
|
|
240 2019-01-23 Tom de Vries <tdevries@suse.de>
|
|
241
|
|
242 * dwarf.c (struct unit): Use size_t for low_offset/high_offset fields.
|
|
243 (units_search, find_unit): Use size_t for offset.
|
|
244 (build_address_map): Use size_t for unit_offset.
|
|
245
|
|
246 2019-01-20 Gerald Pfeifer <gerald@pfeifer.com>
|
|
247
|
|
248 * allocfail.c (main): Increase portability of printf statement.
|
|
249
|
|
250 2019-01-18 Ian Lance Taylor <iant@golang.org>
|
|
251
|
|
252 PR libbacktrace/88890
|
|
253 * mmapio.c (backtrace_get_view): Change size parameter to
|
|
254 uint64_t. Check that value fits in size_t.
|
|
255 * read.c (backtrace_get_view): Likewise.
|
|
256 * internal.h (backtrace_get_view): Update declaration.
|
|
257 * elf.c (elf_add): Pass shstrhdr->sh_size to backtrace_get_view.
|
|
258
|
|
259 2019-01-17 Tom de Vries <tdevries@suse.de>
|
|
260
|
|
261 PR libbacktrace/82857
|
|
262 * configure.ac (DWZ): Set with AC_CHECK_PROG.
|
|
263 (HAVE_DWZ): Set with AM_CONDITIONAL.
|
|
264 * configure: Regenerate.
|
|
265 * Makefile.am (TESTS): Add btest_dwz.
|
|
266 * Makefile.in: Regenerate.
|
|
267
|
|
268 2019-01-17 Tom de Vries <tdevries@suse.de>
|
|
269
|
|
270 PR libbacktrace/82857
|
|
271 * dwarf.c (enum attr_val_encoding): Add ATTR_VAL_REF_ALT_INFO.
|
|
272 (read_attribute): Handle DW_FORM_GNU_ref_alt using
|
|
273 ATTR_VAL_REF_ALT_INFO.
|
|
274 (read_referenced_name_from_attr): Handle DW_FORM_GNU_ref_alt.
|
|
275
|
|
276 2019-01-17 Tom de Vries <tdevries@suse.de>
|
|
277
|
|
278 * dwarf.c (struct unit): Add low_offset and high_offset fields.
|
|
279 (struct unit_vector): New type.
|
|
280 (struct dwarf_data): Add units and units_counts fields.
|
|
281 (find_unit): New function.
|
|
282 (find_address_ranges): Add and handle unit_tag parameter.
|
|
283 (build_address_map): Add and handle units_vec parameter.
|
|
284 (build_dwarf_data): Pass units_vec to build_address_map. Store resulting
|
|
285 units vector.
|
|
286
|
|
287 2019-01-17 Tom de Vries <tdevries@suse.de>
|
|
288
|
|
289 PR libbacktrace/82857
|
|
290 * dwarf.c (read_attribute): Handle DW_FORM_GNU_strp_alt
|
|
291 using altlink.
|
|
292
|
|
293 2019-01-17 Tom de Vries <tdevries@suse.de>
|
|
294
|
|
295 * dwarf.c (enum attr_val_encoding): Add ATTR_VAL_NONE.
|
|
296 (read_attribute): Add altlink parameter. Handle missing altlink for
|
|
297 DW_FORM_GNU_strp_alt and DW_FORM_GNU_ref_alt.
|
|
298 (find_address_ranges, build_address_map, build_dwarf_data): Add and
|
|
299 handle altlink parameter.
|
|
300 (read_referenced_name, read_function_entry): Add argument to
|
|
301 read_attribute call.
|
|
302
|
|
303 2019-01-17 Tom de Vries <tdevries@suse.de>
|
|
304
|
|
305 * dwarf.c (struct dwarf_data): Add altlink field.
|
|
306 (backtrace_dwarf_add): Add and handle fileline_altlink parameter.
|
|
307 * elf.c (elf_add): Add argument to backtrace_dwarf_add call.
|
|
308 (phdr_callback, backtrace_initialize): Add argument to elf_add calls.
|
|
309 * internal.h (backtrace_dwarf_add): Add fileline_altlink parameter.
|
|
310 * pecoff.c (coff_add): Add argument to backtrace_dwarf_add call.
|
|
311 * xcoff.c (xcoff_add): Same.
|
|
312
|
|
313 2019-01-17 Tom de Vries <tdevries@suse.de>
|
|
314
|
|
315 * internal.h (backtrace_dwarf_add): Add fileline_entry parameter.
|
|
316 * dwarf.c (backtrace_dwarf_add): Add and handle fileline_entry parameter.
|
|
317 * elf.c (elf_add): Add and handle fileline_entry parameter. Add
|
|
318 argument to backtrace_dwarf_add call.
|
|
319 (phdr_callback, backtrace_initialize): Add argument to elf_add calls.
|
|
320 * pecoff.c (coff_add): Add argument to backtrace_dwarf_add call.
|
|
321 * xcoff.c (xcoff_add): Same.
|
|
322
|
|
323 2019-01-17 Tom de Vries <tdevries@suse.de>
|
|
324
|
|
325 * elf.c (elf_add): Add and handle with_buildid_data and
|
|
326 with_buildid_size parameters. Handle .gnu_debugaltlink section.
|
|
327 (phdr_callback, backtrace_initialize): Add arguments to elf_add calls.
|
|
328
|
|
329 2019-01-16 Tom de Vries <tdevries@suse.de>
|
|
330
|
|
331 * dwarf.c (read_referenced_name_from_attr): New function. Factor out
|
|
332 of ...
|
|
333 (read_referenced_name): ... here, and ...
|
|
334 (read_function_entry): ... here.
|
|
335
|
|
336 2019-01-16 Tom de Vries <tdevries@suse.de>
|
|
337
|
|
338 * dwarf.c (read_referenced_name): Don't allow DW_AT_name to override any
|
|
339 name.
|
|
340 (read_function_entry): Same. Don't allow name found via
|
|
341 DW_AT_abstract_origin or case DW_AT_specification to override linkage
|
|
342 name.
|
|
343
|
|
344 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
|
|
345
|
|
346 PR other/16615
|
|
347
|
|
348 * backtrace.h: Mechanically replace "can not" with "cannot".
|
|
349
|
|
350 2019-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
351
|
|
352 Update copyright years.
|
|
353
|
|
354 2018-12-29 Gerald Pfeifer <gerald@pfeifer.com>
|
|
355
|
|
356 * Makefile.am (xcoff_%.c): Use an actual newline instead of \n
|
|
357 in sed pattern.
|
|
358 * Makefile.in: Regenerate.
|
|
359
|
|
360 2018-12-28 Tom de Vries <tdevries@suse.de>
|
|
361
|
|
362 * dwarf.c (build_address_map): Reuse unused units.
|
|
363
|
|
364 2018-12-28 Tom de Vries <tdevries@suse.de>
|
|
365
|
|
366 * dwarf.c (build_address_map): Simplify by removing local variable
|
|
367 abbrevs.
|
|
368
|
|
369 2018-12-28 Ian Lance Taylor <iant@golang.org>
|
|
370 Tom de Vries <tdevries@suse.de>
|
|
371
|
|
372 PR libbacktrace/88063
|
|
373 * dwarf.c (free_unit_addrs_vector): Remove.
|
|
374 (build_address_map): Keep track of allocated units in vector. Free
|
|
375 allocated units and corresponding abbrevs upon failure. Remove now
|
|
376 redundant call to free_unit_addrs_vector. Free addrs vector upon
|
|
377 failure. Free allocated unit vector.
|
|
378
|
|
379 2018-12-28 Tom de Vries <tdevries@suse.de>
|
|
380
|
|
381 * dwarf.c (build_address_map): Free addrs vector upon failure.
|
|
382
|
|
383 2018-12-14 Tom de Vries <tdevries@suse.de>
|
|
384
|
|
385 PR testsuite/88491
|
|
386 * allocfail.sh: Remove "set -o pipefail".
|
|
387
|
|
388 2018-12-12 Tom de Vries <tdevries@suse.de>
|
|
389
|
|
390 * Makefile.am (TESTS): Add allocfail.sh.
|
|
391 (check_PROGRAMS): Add allocfail.
|
|
392 * Makefile.in: Regenerate.
|
|
393 * instrumented_alloc.c: New file. Redefine malloc and realloc.
|
|
394 Include alloc.c.
|
|
395 * allocfail.c: New file.
|
|
396 * allocfail.sh: New file.
|
|
397
|
|
398 2018-11-30 Tom de Vries <tdevries@suse.de>
|
|
399
|
|
400 * Makefile.am (check_PROGRAMS): Add test_elf, test_xcoff_32,
|
|
401 test_xcoff_64, test_pecoff and test_unknown.
|
|
402 * Makefile.in: Regenerate.
|
|
403 * test_format.c: New file.
|
|
404
|
|
405 2018-11-30 Tom de Vries <tdevries@suse.de>
|
|
406
|
|
407 * Makefile.am : Add _with_alloc version for each test in
|
|
408 check_PROGRAMS.
|
|
409 * Makefile.in: Regenerate.
|
|
410
|
|
411 2018-11-30 Tom de Vries <tdevries@suse.de>
|
|
412
|
|
413 * internal.h (backtrace_vector_free): New static inline fuction,
|
|
414 factored out of ...
|
|
415 * dwarf.c (read_line_info): ... here.
|
|
416
|
|
417 2018-11-28 Tom de Vries <tdevries@suse.de>
|
|
418
|
|
419 * dwarf.c (read_abbrevs): Fix handling of abbrevs->abbrevs allocation
|
|
420 failure.
|
|
421
|
|
422 2018-11-27 Tom de Vries <tdevries@suse.de>
|
|
423
|
|
424 * mmap.c (backtrace_vector_release): Same.
|
|
425 * unittest.c (test1): Add check.
|
|
426
|
|
427 2018-11-27 Tom de Vries <tdevries@suse.de>
|
|
428
|
|
429 * alloc.c (backtrace_vector_release): Handle vec->size == 0 using free
|
|
430 instead of realloc.
|
|
431 * Makefile.am (check_PROGRAMS): Add unittest.
|
|
432 * Makefile.in: Regenerate.
|
|
433 * unittest.c: New file.
|
|
434
|
|
435 2018-11-22 Tom de Vries <tdevries@suse.de>
|
|
436
|
|
437 * dwarf.c (read_initial_length): Factor out of ...
|
|
438 (build_address_map, read_line_info): ... here.
|
|
439
|
|
440 2018-11-21 Tom de Vries <tdevries@suse.de>
|
|
441
|
|
442 * dwarf.c (read_string): Factor out of ...
|
|
443 (read_attribute, read_line_header, read_line_program): ... here.
|
|
444
|
|
445 2018-10-31 Joseph Myers <joseph@codesourcery.com>
|
|
446
|
|
447 PR bootstrap/82856
|
|
448 * Makefile.am: Include multilib.am.
|
|
449 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
|
|
450 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
|
|
451
|
131
|
452 2018-10-05 Ian Lance Taylor <iant@golang.org>
|
|
453
|
|
454 PR libbacktrace/87529
|
|
455 * backtrace.h: Document that backtrace_create_state should be
|
|
456 called only once.
|
|
457
|
|
458 2018-08-05 Iain Buclaw <ibuclaw@gdcproject.org>
|
|
459
|
|
460 * configure.ac: Move define of HAVE_ZLIB into check for -lz.
|
|
461 * Makefile.in: Regenerate.
|
|
462 * config.h.in: Likewise.
|
|
463 * configure: Likewise.
|
|
464
|
|
465 2018-08-01 Tony Reix <tony.reix@atos.net>
|
|
466
|
|
467 * xcoff.c (struct xcoff_line, struct xcoff_line_vector): Remove.
|
|
468 (struct xcoff_func, struct xcoff_func_vector): New structs.
|
|
469 (xcoff_syminfo): Drop leading dot from symbol name.
|
|
470 (xcoff_line_compare, xcoff_line_search): Remove.
|
|
471 (xcoff_func_compare, xcoff_func_search): New static functions.
|
|
472 (xcoff_lookup_pc): Search function table.
|
|
473 (xcoff_add_line, xcoff_process_linenos): Remove.
|
|
474 (xcoff_initialize_fileline): Build function table.
|
|
475
|
|
476 2018-06-21 Denis Khalikov <d.khalikov@partner.samsung.com>
|
|
477
|
|
478 PR other/86198
|
|
479 * elf.c (elf_add): Increase ".note.gnu.build-id" section size
|
|
480 checking up to 36 bytes.
|
|
481
|
|
482 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
483
|
|
484 * configure: Regenerated.
|
|
485
|
|
486 2018-04-19 Jakub Jelinek <jakub@redhat.com>
|
|
487
|
|
488 * configure: Regenerated.
|
|
489
|
|
490 2018-04-17 Ian Lance Taylor <iant@golang.org>
|
|
491
|
|
492 * backtrace.c: Revert last two changes. Don't call mmap
|
|
493 directly.
|
|
494
|
|
495 2018-04-17 Ian Lance Taylor <iant@golang.org>
|
|
496
|
|
497 * backtrace.c: Include backtrace-supported.h before checking
|
|
498 BACKTRACE_USES_MALLOC.
|
|
499
|
|
500 2018-04-17 Ian Lance Taylor <iant@golang.org>
|
|
501
|
|
502 * backtrace.c (backtrace_full): When testing whether we can
|
|
503 allocate memory, call mmap directly, and munmap the memory.
|
|
504
|
|
505 2018-04-04 Jakub Jelinek <jakub@redhat.com>
|
|
506
|
|
507 PR other/85161
|
|
508 * elf.c (elf_zlib_fetch): Fix up predefined macro names in test for
|
|
509 big endian, only use 32-bit loads if endianity macros are predefined
|
|
510 and indicate big or little endian.
|
|
511
|
|
512 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
513
|
|
514 PR target/84148
|
|
515 * configure: Regenerate.
|
|
516
|
|
517 2018-02-15 Jakub Jelinek <jakub@redhat.com>
|
|
518
|
|
519 PR other/82368
|
|
520 * elf.c (SHT_PROGBITS): Undefine and define.
|
|
521
|
|
522 2018-02-14 Jakub Jelinek <jakub@redhat.com>
|
|
523
|
|
524 PR other/82368
|
|
525 * elf.c (EM_PPC64, EF_PPC64_ABI): Undefine and define.
|
|
526 (struct elf_ppc64_opd_data): New type.
|
|
527 (elf_initialize_syminfo): Add opd argument, handle symbols
|
|
528 pointing into the PowerPC64 ELFv1 .opd section.
|
|
529 (elf_add): Read .opd section on PowerPC64 ELFv1, pass pointer
|
|
530 to structure with .opd data to elf_initialize_syminfo.
|
|
531
|
|
532 2018-01-31 Ian Lance Taylor <iant@golang.org>
|
|
533
|
|
534 * elf.c (elf_add): Close descriptor if we use a debugfile.
|
|
535 * btest.c (check_open_files): New static function.
|
|
536 (main): Call check_open_files.
|
|
537
|
|
538 2018-01-25 Ian Lance Taylor <iant@golang.org>
|
|
539
|
|
540 * elf.c (elf_open_debugfile_by_debuglink): Don't check CRC if the
|
|
541 desired CRC is zero.
|
|
542 (elf_add): Don't clear *found_sym and *found_dwarf if debuginfo.
|
|
543
|
|
544 2018-01-25 Ian Lance Taylor <iant@golang.org>
|
|
545
|
|
546 * pecoff.c (coff_add): Only release syms_view if it is valid.
|
|
547
|
|
548 2018-01-25 Ian Lance Taylor <iant@golang.org>
|
|
549
|
|
550 * pecoff.c (coff_add): Another memcpy -> coff_read4 fix.
|
|
551
|
|
552 2018-01-24 Ian Lance Taylor <iant@golang.org>
|
|
553
|
|
554 * pecoff.c (coff_add): Use coff_read4, not memcpy.
|
|
555
|
|
556 2018-01-24 Ian Lance Taylor <iant@golang.org>
|
|
557
|
|
558 PR other/68239
|
|
559 * mmap.c (backtrace_free_locked): Don't put more than 16 entries
|
|
560 on the free list.
|
|
561
|
|
562 2018-01-19 Tony Reix <tony.reix@atos.net>
|
|
563
|
|
564 * xcoff.c (xcoff_incl_compare): New function.
|
|
565 (xcoff_incl_search): New function.
|
|
566 (xcoff_process_linenos): Use bsearch to find include file.
|
|
567 (xcoff_initialize_fileline): Sort include file information.
|
|
568
|
|
569 2018-01-16 Ian Lance Taylor <iant@golang.org>
|
|
570
|
|
571 * elf.c (codes) [GENERATE_FIXED_HUFFMAN_TABLE]: Fix size to be
|
|
572 288.
|
|
573 (main) [GENERATE_FIXED_HUFFMAN_TABLE]: Pass 288 to
|
|
574 elf_zlib_inflate_table. Generate elf_zlib_default_dist_table.
|
|
575 (elf_zlib_default_table): Update.
|
|
576 (elf_zlib_default_dist_table): New static array.
|
|
577 (elf_zlib_inflate): Use elf_zlib_default_dist_table for dist table
|
|
578 for block type 1.
|
|
579 * ztest.c (struct zlib_test): Add uncompressed_len.
|
|
580 (tests): Initialize uncompressed_len field. Add new test case.
|
|
581 (test_samples): Use uncompressed_len field.
|
|
582
|
|
583 2018-01-03 Jakub Jelinek <jakub@redhat.com>
|
|
584
|
|
585 Update copyright years.
|
|
586
|
|
587 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
588
|
|
589 * configure.ac: Add CET_FLAGS to EXTRA_FLAGS.
|
|
590 * aclocal.m4: Regenerate.
|
|
591 * Makefile.in: Likewise.
|
|
592 * configure: Likewise.
|
|
593
|
111
|
594 2017-10-06 Ian Lance Taylor <iant@golang.org>
|
|
595
|
|
596 * ztest.c (test_large): Pass unsigned long *, not size_t *, to
|
|
597 zlib uncompress function.
|
|
598
|
|
599 2017-10-05 Ian Lance Taylor <iant@golang.org>
|
|
600
|
|
601 * elf.c (elf_zlib_fetch): Change pval argument to uint64_t *.
|
|
602 Read a four byte integer.
|
|
603 (elf_zlib_inflate): Change val to uint64_t. Align pin to a 32-bit
|
|
604 boundary before ever calling elf_zlib_fetch.
|
|
605 * ztest.c (test_large): Simplify print statements a bit.
|
|
606
|
|
607 2017-10-02 Ian Lance Taylor <iant@golang.org>
|
|
608
|
|
609 * ztest.c: #include <errno.h>.
|
|
610 (TEST_TIMING): Don't define, don't test.
|
|
611 (xclock_gettime, xclockid_t): Define if !HAVE_CLOCK_GETTIME.
|
|
612 (clockid_t, clock_gettime, CLOCK_REALTIME): Likewise.
|
|
613 (ZLIB_CLOCK_GETTIME_ARG): Define.
|
|
614 * configure.ac: Change clock_gettime_link to CLOCK_GETTIME_LINK.
|
|
615 * Makefile.am: Likewise.
|
|
616 * configure, Makefile.in: Rebuild.
|
|
617
|
|
618 2017-10-02 Thomas Schwinge <thomas@codesourcery.com>
|
|
619
|
|
620 PR other/67165
|
|
621 * Makefile.am: Append the content of clock_gettime_link to
|
|
622 ztest_LDADD.
|
|
623 * configure.ac: Test for the case that clock_gettime is in librt.
|
|
624 * Makefile.in: Regenerate.
|
|
625 * configure: Likewise.
|
|
626
|
|
627 PR other/67165
|
|
628 * configure.ac: Check for clock_gettime.
|
|
629 * config.h.in: Regenerate.
|
|
630 * configure: Likewise.
|
|
631 * ztest.c (average_time, test_large): Conditionalize test timing
|
|
632 on clock_gettime availability.
|
|
633
|
|
634 2017-09-29 Tony Reix <tony.reix@atos.net>
|
|
635
|
|
636 * xcoff.c: Initial support for DWARF debug sections in XCOFF.
|
|
637 (STYP_DWARF, SSUBTYP_DW*): Define.
|
|
638 (enum dwarf_section): Define.
|
|
639 (struct dwsect_info): Define.
|
|
640 (xcoff_add): Look for DWARF sections, pass them to
|
|
641 backtrace_dwarf_add.
|
|
642
|
|
643 2017-09-28 Ian Lance Taylor <iant@golang.org>
|
|
644
|
|
645 PR other/67165
|
|
646 * elf.c (__builtin_prefetch): Define if not __GNUC__.
|
|
647 (unlikely): Define.
|
|
648 (SHF_UNCOMPRESSED, ELFCOMPRESS_ZLIB): Define.
|
|
649 (b_elf_chdr): Define type.
|
|
650 (enum debug_section): Add ZDEBUG_xxx values.
|
|
651 (debug_section_names): Add names for new sections.
|
|
652 (struct debug_section_info): Add compressed field.
|
|
653 (elf_zlib_failed, elf_zlib_fetch): New static functions.
|
|
654 (HUFFMAN_TABLE_SIZE, HUFFMAN_VALUE_MASK): Define.
|
|
655 (HUFFMAN_BITS_SHIFT, HUFFMAN_BITS_MASK): Define.
|
|
656 (HUFFMAN_SECONDARY_SHIFT): Define.
|
|
657 (ZDEBUG_TABLE_SIZE): Define.
|
|
658 (ZDEBUG_TABLE_CODELEN_OFFSET, ZDEBUG_TABLE_WORK_OFFSET): Define.
|
|
659 (final_next_secondary): New static variable if
|
|
660 BACKTRACE_GENERATE_FIXED_HUFFMAN_TABLE.
|
|
661 (elf_zlib_inflate_table): New static function.
|
|
662 (BACKTRACE_GENERATE_FIXED_HUFFMAN_TABLE): If define, define main
|
|
663 function to produce fixed Huffman table.
|
|
664 (elf_zlib_default_table): New static variable.
|
|
665 (elf_zlib_inflate): New static function.
|
|
666 (elf_zlib_verify_checksum): Likewise.
|
|
667 (elf_zlib_inflate_and_verify): Likewise.
|
|
668 (elf_uncompress_zdebug): Likewise.
|
|
669 (elf_uncompress_chdr): Likewise.
|
|
670 (backtrace_uncompress_zdebug): New extern function.
|
|
671 (elf_add): Look for .zdebug sections and SHF_COMPRESSED debug
|
|
672 sections, and uncompress them.
|
|
673 * internal.h (backtrace_compress_zdebug): Declare.
|
|
674 * ztest.c: New file.
|
|
675 * configure.ac: Check for -lz and check whether the linker
|
|
676 supports --compress-debug-sections.
|
|
677 * Makefile.am (ztest_SOURCES): New variable.
|
|
678 (ztest_CFLAGS, ztest_LDADD): New variables.
|
|
679 (check_PROGRAMS): Add ztest.
|
|
680 (ctestg_SOURCES): New variable.
|
|
681 (ctestg_CFLAGS, ctestg_LDFLAGS, ctestg_LDADD): New variables.
|
|
682 (ctesta_SOURCES): New variable.
|
|
683 (ctesta_CFLAGS, ctesta_LDFLAGS, ctesta_LDADD): New variables.
|
|
684 (check_PROGRAMS): Add ctestg and ctesta.
|
|
685 * configure, config.h.in, Makefile.in: Rebuild.
|
|
686
|
|
687 2017-09-22 Ian Lance Taylor <iant@golang.org>
|
|
688
|
|
689 PR sanitizer/77631
|
|
690 * configure.ac: Check for lstat and readlink.
|
|
691 * elf.c (lstat, readlink): Provide dummy versions if real versions
|
|
692 are not available.
|
|
693 * configure, config.h.in: Rebuild.
|
|
694
|
|
695 2017-09-21 Ian Lance Taylor <iant@google.com>
|
|
696
|
|
697 PR go/82284
|
|
698 * elf.c (backtrace_initialize): Set pd.exe_filename.
|
|
699
|
|
700 2017-09-20 Ian Lance Taylor <iant@golang.org>
|
|
701 Denis Khalikov <d.khalikov@partner.samsung.com>
|
|
702
|
|
703 PR sanitizer/77631
|
|
704 Support for external debug info.
|
|
705 * elf.c: Include <errno.h>, <sys/stat.h>, <unistd.h>.
|
|
706 (S_ISLNK): Define if not defined.
|
|
707 (xstrnlen): Define if strnlen is not available.
|
|
708 (b_elf_note): Define type.
|
|
709 (NT_GNU_BUILD_ID): Define macro.
|
|
710 (elf_crc32, elf_crc32_file): New static functions.
|
|
711 (elf_is_symlink, elf_readlink): New static functions.
|
|
712 (elf_open_debugfile_by_buildid): New static function.
|
|
713 (elf_try_debugfile): New static function.
|
|
714 (elf_find_debugfile_by_debuglink): New static function.
|
|
715 (elf_open_debugfile_by_debuglink): New static function.
|
|
716 (elf_add): Add filename and debuginfo parameters. Adjust all
|
|
717 callers. Look for external debug info notes, and try to fetch
|
|
718 debug info from external file.
|
|
719 (struct phdr_data): Add exe_filename field.
|
|
720 (phdr_callback): Pass filename to elf_add.
|
|
721 (backtrace_initialize): Add filename parameter.
|
|
722 * internal.h (backtrace_initialize): Add filename parameter.
|
|
723 * fileline.c (fileline_initialize): Pass filename to
|
|
724 backtrace_initialize.
|
|
725 * pecoff.c (fileline_initialize): Add unused filename parameter.
|
|
726 * unknown.c (fileline_initialize): Likewise.
|
|
727 * xcoff.c (fileline_initialize): Likewise.
|
|
728 * configure.ac: Check for objcopy --add-gnu-debuglink.
|
|
729 * Makefile.am (dtest): New test target.
|
|
730 * configure, Makefile.in: Rebuild.
|
|
731
|
|
732 2017-09-12 Steve Ellcey <sellcey@cavium.com>
|
|
733
|
|
734 PR other/81096
|
|
735 * Makefile.am (ttest_CFLAGS): Add $(AM_CFLAGS)
|
|
736 * Makefile.in: Regenerate.
|
|
737
|
|
738 2017-09-12 Steve Ellcey <sellcey@cavium.com>
|
|
739
|
|
740 PR other/81096
|
|
741 * libbacktrace/Makefile.in
|
|
742 (HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ttest_CFLAGS): Add $(AM_CFLAGS)
|
|
743
|
|
744 2017-08-02 David Edelsohn <dje.gcc@gmail.com>
|
|
745
|
|
746 PR bootstrap/81638
|
|
747 * xcoff.c (xcoff_process_linenos): Initialize incl to NULL.
|
|
748
|
|
749 2017-07-28 Tony Reix <tony.reix@atos.net>
|
|
750
|
|
751 * xcoff.c: Don't leak a file descriptor if an archive is malformed.
|
|
752
|
|
753 2017-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
754
|
|
755 * fileline.c (fileline_initialize): Print pid_t as long.
|
|
756
|
|
757 2017-07-26 Tony Reix <tony.reix@atos.net>
|
|
758
|
|
759 * configure.ac: Check for XCOFF32/XCOFF64. Check for loadquery.
|
|
760 * filetype.awk: Separate AIX XCOFF32 and XCOFF64.
|
|
761 * xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats.
|
|
762 * configure, config.h.in: Regenerate.
|
|
763
|
|
764 2017-07-21 Tony Reix <tony.reix@atos.net>
|
|
765
|
|
766 * filetype.awk: Add AIX XCOFF type detection.
|
|
767 * configure.ac: Recognize xcoff format.
|
|
768 * Makefile.am (FORMAT_FILES): Add xcoff.c.
|
|
769 * fileline.c: Include <unistd.h>.
|
|
770 (fileline_initialize): Add case for AIX procfs.
|
|
771 * xcoff.c: New file.
|
|
772 * configure, Makefile.in: Rebuild.
|
|
773
|
|
774 2017-06-21 Richard Biener <rguenther@suse.de>
|
|
775
|
|
776 * configure.ac: Add AC_SYS_LARGEFILE.
|
|
777 * config.h.in: Regenerate.
|
|
778 * configure: Likewise.
|
|
779
|
|
780 2017-06-11 Ian Lance Taylor <iant@golang.org>
|
|
781
|
|
782 * elf.c (backtrace_initialize): Always set *fileline_fn.
|
|
783 * ttest.c: New file.
|
|
784 * btest.c: Move support functions into testlib.c. Change calls to
|
|
785 check to pass file name.
|
|
786 * testlib.c: New file, copied from (part of) btest.c.
|
|
787 * testlib.h: New file, declarations for testlib.c.
|
|
788 * edtest.c: Use testlib.h and testlib.c.
|
|
789 * configure.ac: Test for -pthread, set HAVE_PTHREAD conditional.
|
|
790 * Makefile.am (btest_SOURCES): Add testlib.c.
|
|
791 (edtest_SOURCES): Likewise.
|
|
792 (CHECK_PROGRAMS): Add ttest if HAVE_PTHREAD.
|
|
793 (ttest_SOURCES, ttest_CFLAGS, ttest_LDADD): Define.
|
|
794 * configure, Makefile.in: Rebuild.
|
|
795
|
|
796 2017-05-19 Than McIntosh <thanm@google.com>
|
|
797
|
|
798 * dwarf.c (free_line_header): Don't free dirs if dirs_count == 0.
|
|
799 (read_line_header): Don't allocate dirs if dirs_count == 0.
|
|
800 * edtest.c: New file.
|
|
801 * edtest2.c: New file.
|
|
802 * Makefile.am (edtest_SOURCES, edtest_LDADD): Define.
|
|
803 (check_PROGRAMS): Add edtest.
|
|
804 (edtest2_build.c, gen_edtest2_build): New targets.
|
|
805 * Makefile.in: Rebuild.
|
|
806
|
|
807 2017-03-08 Sam Thursfield <sam.thursfield@codethink.co.uk>
|
|
808
|
|
809 * btest.c (test5): Replace #ifdef guard with 'unused' attribute
|
|
810 to fix compile warning when BACKTRACE_SUPPORTED isn't defined.
|
|
811
|
|
812 2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
813
|
|
814 Update copyright years.
|
|
815
|
|
816 2016-11-15 Matthias Klose <doko@ubuntu.com>
|
|
817
|
|
818 * configure: Regenerate.
|
|
819
|
|
820 2016-09-11 Carlos Liam <carlos@aarzee.me>
|
|
821
|
|
822 * all: Remove meaningless trailing whitespace.
|
|
823
|
|
824 2016-05-18 Uros Bizjak <ubizjak@gmail.com>
|
|
825
|
|
826 PR target/71161
|
|
827 * elf.c (phdr_callback) [__i386__]: Add
|
|
828 __attribute__((__force_align_arg_pointer__)).
|
|
829
|
|
830 2016-03-02 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
831
|
|
832 * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to
|
|
833 avoid possible crash.
|
|
834 (elf_add): Don't set *fileline_fn to elf_nodebug value in case of
|
|
835 missing debug info anymore.
|
|
836
|
|
837 2016-02-06 John David Anglin <danglin@gcc.gnu.org>
|
|
838
|
|
839 * mmap.c (MAP_FAILED): Define if not defined.
|
|
840
|
|
841 2016-01-04 Jakub Jelinek <jakub@redhat.com>
|
|
842
|
|
843 Update copyright years.
|
|
844
|
|
845 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
|
|
846
|
|
847 * configure.ac: Specify that DJGPP do not have mmap
|
|
848 even when sys/mman.h exists.
|
|
849 * configure: Regenerate
|
|
850
|
|
851 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
|
|
852
|
|
853 PR libgfortran/68115
|
|
854 * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*.
|
|
855 * configure: Regenerate.
|
|
856 * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call
|
|
857 to void.
|
|
858
|
|
859 2015-09-17 Ian Lance Taylor <iant@google.com>
|
|
860
|
|
861 * posix.c (backtrace_open): Cast second argument of open() to int.
|
|
862
|
|
863 2015-09-11 Ian Lance Taylor <iant@google.com>
|
|
864
|
|
865 * Makefile.am (backtrace.lo): Depend on internal.h.
|
|
866 (sort.lo, stest.lo): Add explicit dependencies.
|
|
867 * Makefile.in: Rebuild.
|
|
868
|
|
869 2015-09-09 Hans-Peter Nilsson <hp@axis.com>
|
|
870
|
|
871 * backtrace.c: #include <sys/types.h>.
|
|
872
|
|
873 2015-09-08 Ian Lance Taylor <iant@google.com>
|
|
874
|
|
875 PR other/67457
|
|
876 * backtrace.c: #include "internal.h".
|
|
877 (struct backtrace_data): Add can_alloc field.
|
|
878 (unwind): If can_alloc is false, don't try to get file/line
|
|
879 information.
|
|
880 (backtrace_full): Set can_alloc field in bdata.
|
|
881 * alloc.c (backtrace_alloc): Don't call error_callback if it is
|
|
882 NULL.
|
|
883 * mmap.c (backtrace_alloc): Likewise.
|
|
884 * internal.h: Update comments for backtrace_alloc and
|
|
885 backtrace_free.
|
|
886
|
|
887 2015-09-08 Ian Lance Taylor <iant@google.com>
|
|
888
|
|
889 PR other/67457
|
|
890 * mmap.c (backtrace_alloc): Correct test for mmap failure.
|
|
891
|
|
892 2015-08-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
|
893
|
|
894 * configure.ac: For spu-*-* targets, set have_fcntl to no.
|
|
895 * configure: Regenerate.
|
|
896
|
|
897 2015-08-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
|
898
|
|
899 * configure.ac: Remove [disable-shared] argument to LT_INIT.
|
|
900 Remove setting PIC_FLAG when building as target library.
|
|
901 * configure: Regenerate.
|
|
902
|
|
903 2015-08-26 Hans-Peter Nilsson <hp@axis.com>
|
|
904
|
|
905 * configure.ac: Only compile with -fPIC if the target
|
|
906 supports it.
|
|
907 * configure: Regenerate.
|
|
908
|
|
909 2015-08-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
|
910
|
|
911 * configure.ac: Set have_mmap to no on spu-*-* targets.
|
|
912 * configure: Regenerate.
|
|
913
|
|
914 2015-08-13 Ian Lance Taylor <iant@google.com>
|
|
915
|
|
916 * dwarf.c (read_function_entry): Add vec_inlined parameter.
|
|
917 Change all callers.
|
|
918
|
|
919 2015-06-11 Martin Sebor <msebor@redhat.com>
|
|
920
|
|
921 PR sanitizer/65479
|
|
922 * dwarf.c (struct line): Add new field idx.
|
|
923 (line_compare): Use it.
|
|
924 (add_line): Set it.
|
|
925 (read_line_info): Reset it.
|
|
926
|
|
927 2015-05-29 Tristan Gingold <gingold@adacore.com>
|
|
928
|
|
929 * pecoff.c: New file.
|
|
930 * Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies.
|
|
931 * Makefile.in: Regenerate.
|
|
932 * filetype.awk: Detect pecoff.
|
|
933 * configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms.
|
|
934 Add pecoff.
|
|
935 * btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is
|
|
936 true.
|
|
937 * backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define.
|
|
938 * configure: Regenerate.
|
|
939 * pecoff.c: New file.
|
|
940
|
|
941 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
|
|
942
|
|
943 * Makefile.in: Regenerated with automake-1.11.6.
|
|
944 * aclocal.m4: Likewise.
|
|
945 * configure: Likewise.
|
|
946
|
|
947 2015-01-24 Matthias Klose <doko@ubuntu.com>
|
|
948
|
|
949 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
|
|
950 * configure: Regenerate.
|
|
951
|
|
952 2015-01-05 Jakub Jelinek <jakub@redhat.com>
|
|
953
|
|
954 Update copyright years.
|
|
955
|
|
956 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
957
|
|
958 PR bootstrap/63784
|
|
959 * configure: Regenerated.
|
|
960
|
|
961 2014-11-11 David Malcolm <dmalcolm@redhat.com>
|
|
962
|
|
963 * ChangeLog.jit: New.
|
|
964
|
|
965 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
966
|
|
967 PR target/63610
|
|
968 * configure: Regenerate.
|
|
969
|
|
970 2014-10-23 Ian Lance Taylor <iant@google.com>
|
|
971
|
|
972 * internal.h (backtrace_atomic_load_pointer) [no atomic or sync]:
|
|
973 Fix to return void *.
|
|
974
|
|
975 2014-05-08 Ian Lance Taylor <iant@google.com>
|
|
976
|
|
977 * mmap.c (backtrace_free): If freeing a large aligned block of
|
|
978 memory, call munmap rather than holding onto it.
|
|
979 (backtrace_vector_grow): When growing a vector, double the number
|
|
980 of pages requested. When releasing the old version of a grown
|
|
981 vector, pass the correct size to backtrace_free.
|
|
982
|
|
983 2014-03-07 Ian Lance Taylor <iant@google.com>
|
|
984
|
|
985 * sort.c (backtrace_qsort): Use middle element as pivot.
|
|
986
|
|
987 2014-03-06 Ian Lance Taylor <iant@google.com>
|
|
988
|
|
989 * sort.c: New file.
|
|
990 * stest.c: New file.
|
|
991 * internal.h (backtrace_qsort): Declare.
|
|
992 * dwarf.c (read_abbrevs): Call backtrace_qsort instead of qsort.
|
|
993 (read_line_info, read_function_entry): Likewise.
|
|
994 (read_function_info, build_dwarf_data): Likewise.
|
|
995 * elf.c (elf_initialize_syminfo): Likewise.
|
|
996 * Makefile.am (libbacktrace_la_SOURCES): Add sort.c.
|
|
997 (stest_SOURCES, stest_LDADD): Define.
|
|
998 (check_PROGRAMS): Add stest.
|
|
999
|
|
1000 2014-02-07 Misty De Meo <misty@brew.sh>
|
|
1001
|
|
1002 PR target/58710
|
|
1003 * configure.ac: Use AC_LINK_IFELSE in check for
|
|
1004 _Unwind_GetIPInfo.
|
|
1005 * configure: Regenerate.
|
|
1006
|
|
1007 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
|
|
1008
|
|
1009 Update copyright years
|
|
1010
|
|
1011 2013-12-06 Jakub Jelinek <jakub@redhat.com>
|
|
1012
|
|
1013 * elf.c (ET_DYN): Undefine and define again.
|
|
1014 (elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN,
|
|
1015 return early -1 without closing the descriptor.
|
|
1016 (struct phdr_data): Add exe_descriptor.
|
|
1017 (phdr_callback): If pd->exe_descriptor is not -1, for very first
|
|
1018 call if dlpi_name is NULL just call elf_add with the exe_descriptor,
|
|
1019 otherwise backtrace_close the exe_descriptor if not -1. Adjust
|
|
1020 call to elf_add.
|
|
1021 (backtrace_initialize): Adjust call to elf_add. If it returns
|
|
1022 -1, set pd.exe_descriptor to descriptor, otherwise set it to -1.
|
|
1023
|
|
1024 2013-12-05 Ian Lance Taylor <iant@google.com>
|
|
1025
|
|
1026 * alloc.c (backtrace_vector_finish): Add error_callback and data
|
|
1027 parameters. Call backtrace_vector_release. Return address base.
|
|
1028 * mmap.c (backtrace_vector_finish): Add error_callback and data
|
|
1029 parameters. Return address base.
|
|
1030 * dwarf.c (read_function_info): Get new address base from
|
|
1031 backtrace_vector_finish.
|
|
1032 * internal.h (backtrace_vector_finish): Update declaration.
|
|
1033
|
|
1034 2013-11-27 Ian Lance Taylor <iant@google.com>
|
|
1035
|
|
1036 * dwarf.c (find_address_ranges): New static function, broken out
|
|
1037 of build_address_map.
|
|
1038 (build_address_map): Call it.
|
|
1039 * btest.c (check): Check for missing filename or function, rather
|
|
1040 than crashing.
|
|
1041 (f3): Check that enough frames were returned.
|
|
1042
|
|
1043 2013-11-19 Jakub Jelinek <jakub@redhat.com>
|
|
1044
|
|
1045 * backtrace.h (backtrace_syminfo_callback): Add symsize argument.
|
|
1046 * elf.c (elf_syminfo): Pass 0 or sym->size to the callback as
|
|
1047 last argument.
|
|
1048 * btest.c (struct symdata): Add size field.
|
|
1049 (callback_three): Add symsize argument. Copy it to the data->size
|
|
1050 field.
|
|
1051 (f23): Set symdata.size to 0.
|
|
1052 (test5): Likewise. If sizeof (int) > 1, lookup address of
|
|
1053 ((uintptr_t) &global) + 1. Verify symdata.val and symdata.size
|
|
1054 values.
|
|
1055
|
|
1056 * atomic.c: Include sys/types.h.
|
|
1057
|
|
1058 2013-11-18 Ian Lance Taylor <iant@google.com>
|
|
1059
|
|
1060 * configure.ac: Check for support of __atomic extensions.
|
|
1061 * internal.h: Declare or #define atomic functions for use in
|
|
1062 backtrace code.
|
|
1063 * atomic.c: New file.
|
|
1064 * dwarf.c (dwarf_lookup_pc): Use atomic functions.
|
|
1065 (dwarf_fileline, backtrace_dwarf_add): Likewise.
|
|
1066 * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise.
|
|
1067 (backtrace_initialize): Likewise.
|
|
1068 * fileline.c (fileline_initialize): Likewise.
|
|
1069 * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c.
|
|
1070 * configure, config.h.in, Makefile.in: Rebuild.
|
|
1071
|
|
1072 2013-11-18 Jakub Jelinek <jakub@redhat.com>
|
|
1073
|
|
1074 * elf.c (SHN_UNDEF): Define.
|
|
1075 (elf_initialize_syminfo): Add base_address argument. Ignore symbols
|
|
1076 with st_shndx == SHN_UNDEF. Add base_address to address fields.
|
|
1077 (elf_add): Adjust caller.
|
|
1078
|
|
1079 * elf.c (phdr_callback): Process info->dlpi_addr == 0 normally.
|
|
1080
|
|
1081 2013-11-16 Ian Lance Taylor <iant@google.com>
|
|
1082
|
|
1083 * backtrace.h (backtrace_create_state): Correct comment about
|
|
1084 threading.
|
|
1085
|
|
1086 2013-11-15 Ian Lance Taylor <iant@google.com>
|
|
1087
|
|
1088 * backtrace.h (backtrace_syminfo): Update comment and parameter
|
|
1089 name to take any address, not just a PC value.
|
|
1090 * elf.c (STT_OBJECT): Define.
|
|
1091 (elf_nosyms): Rename parameter pc to addr.
|
|
1092 (elf_symbol_search): Rename local variable pc to addr.
|
|
1093 (elf_initialize_syminfo): Add STT_OBJECT symbols to elf_symbols.
|
|
1094 (elf_syminfo): Rename parameter pc to addr.
|
|
1095 * btest.c (global): New global variable.
|
|
1096 (test5): New test.
|
|
1097 (main): Call test5.
|
|
1098
|
|
1099 2013-10-17 Ian Lance Taylor <iant@google.com>
|
|
1100
|
|
1101 * elf.c (elf_add): Don't get the wrong offsets if a debug section
|
|
1102 is missing.
|
|
1103
|
|
1104 2013-10-15 David Malcolm <dmalcolm@redhat.com>
|
|
1105
|
|
1106 * configure.ac: Add --enable-host-shared, setting up
|
|
1107 pre-existing PIC_FLAG variable within Makefile.am et al.
|
|
1108 * configure: Regenerate.
|
|
1109
|
|
1110 2013-09-20 Alan Modra <amodra@gmail.com>
|
|
1111
|
|
1112 * configure: Regenerate.
|
|
1113
|
|
1114 2013-07-23 Alexander Monakov <amonakov@ispras.ru>
|
|
1115
|
|
1116 * elf.c (elf_syminfo): Loop over the elf_syminfo_data chain.
|
|
1117
|
|
1118 2013-07-23 Alexander Monakov <amonakov@ispras.ru>
|
|
1119
|
|
1120 * elf.c (backtrace_initialize): Pass elf_fileline_fn to
|
|
1121 dl_iterate_phdr callbacks.
|
|
1122
|
|
1123 2013-03-25 Ian Lance Taylor <iant@google.com>
|
|
1124
|
|
1125 * alloc.c: #include <sys/types.h>.
|
|
1126 * mmap.c: Likewise.
|
|
1127
|
|
1128 2013-01-31 Ian Lance Taylor <iant@google.com>
|
|
1129
|
|
1130 * dwarf.c (read_function_info): Permit fvec parameter to be NULL.
|
|
1131 (dwarf_lookup_pc): Don't use ddata->fvec if threaded.
|
|
1132
|
|
1133 2013-01-25 Jakub Jelinek <jakub@redhat.com>
|
|
1134
|
|
1135 PR other/56076
|
|
1136 * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir
|
|
1137 attribute was not seen.
|
|
1138
|
|
1139 2013-01-16 Ian Lance Taylor <iant@google.com>
|
|
1140
|
|
1141 * dwarf.c (struct unit): Add filename and abs_filename fields.
|
|
1142 (build_address_map): Set new fields when reading unit.
|
|
1143 (dwarf_lookup_pc): If we don't find an entry in the line table,
|
|
1144 just return the main file name.
|
|
1145
|
|
1146 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
|
|
1147
|
|
1148 Update copyright years.
|
|
1149
|
|
1150 2013-01-01 Ian Lance Taylor <iant@google.com>
|
|
1151
|
|
1152 PR bootstrap/54834
|
|
1153 * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I
|
|
1154 $(MULTIBUILDTOP)/../../gcc/include.
|
|
1155 * Makefile.in: Rebuild.
|
|
1156
|
|
1157 2013-01-01 Ian Lance Taylor <iant@google.com>
|
|
1158
|
|
1159 PR other/55536
|
|
1160 * mmap.c (backtrace_alloc): Don't call sync functions if not
|
|
1161 threaded.
|
|
1162 (backtrace_free): Likewise.
|
|
1163
|
|
1164 2012-12-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
1165
|
|
1166 * mmapio.c: Define MAP_FAILED if not defined.
|
|
1167
|
|
1168 2012-12-11 Jakub Jelinek <jakub@redhat.com>
|
|
1169
|
|
1170 PR bootstrap/54926
|
|
1171 * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@.
|
|
1172 * configure.ac: If --with-target-subdir, add -frandom-seed=$@
|
|
1173 to EXTRA_FLAGS unconditionally, otherwise check whether the compiler
|
|
1174 accepts it.
|
|
1175 * Makefile.in: Regenerated.
|
|
1176 * configure: Regenerated.
|
|
1177
|
|
1178 2012-12-07 Jakub Jelinek <jakub@redhat.com>
|
|
1179
|
|
1180 PR bootstrap/54926
|
|
1181 * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@.
|
|
1182 * Makefile.in: Regenerated.
|
|
1183
|
|
1184 2012-11-20 Ian Lance Taylor <iant@google.com>
|
|
1185
|
|
1186 * dwarf.c (read_attribute): Always clear val.
|
|
1187
|
|
1188 2012-11-13 Ian Lance Taylor <iant@google.com>
|
|
1189
|
|
1190 PR other/55312
|
|
1191 * configure.ac: Only add -Werror if building a target library.
|
|
1192 * configure: Rebuild.
|
|
1193
|
|
1194 2012-11-12 Ian Lance Taylor <iant@google.com>
|
|
1195 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
1196 Gerald Pfeifer <gerald@pfeifer.com>
|
|
1197
|
|
1198 * configure.ac: Check for getexecname.
|
|
1199 * fileline.c: #include <errno.h>. Define getexecname if not
|
|
1200 available.
|
|
1201 (fileline_initialize): Try to find the executable in a few
|
|
1202 different ways.
|
|
1203 * print.c (error_callback): Only print the filename if it came
|
|
1204 from the backtrace state.
|
|
1205 * configure, config.h.in: Rebuild.
|
|
1206
|
|
1207 2012-10-29 Ian Lance Taylor <iant@google.com>
|
|
1208
|
|
1209 * mmap.c (backtrace_vector_release): Correct last patch: add
|
|
1210 aligned, not size.
|
|
1211
|
|
1212 2012-10-29 Ian Lance Taylor <iant@google.com>
|
|
1213
|
|
1214 * mmap.c (backtrace_vector_release): Make sure freed block is
|
|
1215 aligned on 8-byte boundary.
|
|
1216
|
|
1217 2012-10-26 Ian Lance Taylor <iant@google.com>
|
|
1218
|
|
1219 PR other/55087
|
|
1220 * posix.c (backtrace_open): Add does_not_exist parameter.
|
|
1221 * elf.c (phdr_callback): Do not warn if shared library could not
|
|
1222 be opened.
|
|
1223 * fileline.c (fileline_initialize): Update calls to
|
|
1224 backtrace_open.
|
|
1225 * internal.h (backtrace_open): Update declaration.
|
|
1226
|
|
1227 2012-10-26 Jack Howarth <howarth@bromo.med.uc.edu>
|
|
1228
|
|
1229 PR target/55061
|
|
1230 * configure.ac: Check for _Unwind_GetIPInfo function declaration.
|
|
1231 * configure: Regenerate.
|
|
1232
|
|
1233 2012-10-24 Ian Lance Taylor <iant@google.com>
|
|
1234
|
|
1235 PR target/55061
|
|
1236 * configure.ac: Check whether -funwind-tables option works.
|
|
1237 * configure: Rebuild.
|
|
1238
|
|
1239 2012-10-11 Ian Lance Taylor <iant@google.com>
|
|
1240
|
|
1241 * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
|
|
1242 * configure: Rebuild.
|
|
1243
|
|
1244 2012-10-10 Ian Lance Taylor <iant@google.com>
|
|
1245
|
|
1246 * elf.c: Rename all Elf typedefs to start with b_elf, and be all
|
|
1247 lower case.
|
|
1248
|
|
1249 2012-10-10 Hans-Peter Nilsson <hp@bitrange.com>
|
|
1250
|
|
1251 * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
|
|
1252
|
|
1253 2012-10-09 Ian Lance Taylor <iant@google.com>
|
|
1254
|
|
1255 * dwarf.c (dwarf_fileline): Add cast to avoid warning.
|
|
1256 (backtrace_dwarf_add): Likewise.
|
|
1257
|
|
1258 2012-10-09 Ian Lance Taylor <iant@google.com>
|
|
1259
|
|
1260 Add support for tracing through shared libraries.
|
|
1261 * configure.ac: Check for link.h and dl_iterate_phdr.
|
|
1262 * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef
|
|
1263 ELF macros before #defining them.
|
|
1264 (dl_phdr_info, dl_iterate_phdr): Define if system does not have
|
|
1265 dl_iterate_phdr.
|
|
1266 (struct elf_syminfo_data): Add next field.
|
|
1267 (elf_initialize_syminfo): Initialize next field.
|
|
1268 (elf_add_syminfo_data): New static function.
|
|
1269 (elf_add): New static function, broken out of
|
|
1270 backtrace_initialize. Call backtrace_dwarf_add instead of
|
|
1271 backtrace_dwarf_initialize.
|
|
1272 (struct phdr_data): Define.
|
|
1273 (phdr_callback): New static function.
|
|
1274 (backtrace_initialize): Call elf_add.
|
|
1275 * dwarf.c (struct dwarf_data): Add next and base_address fields.
|
|
1276 (add_unit_addr): Add base_address parameter. Change all callers.
|
|
1277 (add_unit_ranges, build_address_map): Likewise.
|
|
1278 (add_line): Add ddata parameter. Change all callers.
|
|
1279 (read_line_program, add_function_range): Likewise.
|
|
1280 (dwarf_lookup_pc): New static function, broken out of
|
|
1281 dwarf_fileline.
|
|
1282 (dwarf_fileline): Call dwarf_lookup_pc.
|
|
1283 (build_dwarf_data): New static function.
|
|
1284 (backtrace_dwarf_add): New function.
|
|
1285 (backtrace_dwarf_initialize): Remove.
|
|
1286 * internal.h (backtrace_dwarf_initialize): Don't declare.
|
|
1287 (backtrace_dwarf_add): Declare.
|
|
1288 * configure, config.h.in: Rebuild.
|
|
1289
|
|
1290 2012-10-04 Gerald Pfeifer <gerald@pfeifer.com>
|
|
1291
|
|
1292 * btest.c (f23): Avoid uninitialized variable warning.
|
|
1293
|
|
1294 2012-10-04 Ian Lance Taylor <iant@google.com>
|
|
1295
|
|
1296 * dwarf.c: If the system header files do not declare strnlen,
|
|
1297 provide our own version.
|
|
1298
|
|
1299 2012-10-03 Ian Lance Taylor <iant@google.com>
|
|
1300
|
|
1301 * dwarf.c (read_uleb128): Fix overflow test.
|
|
1302 (read_sleb128): Likewise.
|
|
1303 (build_address_map): Don't change unit_buf.start.
|
|
1304
|
|
1305 2012-10-02 Uros Bizjak <ubizjak@gmail.com>
|
|
1306
|
|
1307 PR other/54761
|
|
1308 * configure.ac (EXTRA_FLAGS): New.
|
|
1309 * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
|
|
1310 * configure, Makefile.in: Regenerate.
|
|
1311
|
|
1312 2012-09-29 Ian Lance Taylor <iant@google.com>
|
|
1313
|
|
1314 PR other/54749
|
|
1315 * fileline.c (fileline_initialize): Pass errnum as -1 when
|
|
1316 reporting that we could not read executable information after a
|
|
1317 previous failure.
|
|
1318
|
|
1319 2012-09-27 Ian Lance Taylor <iant@google.com>
|
|
1320
|
|
1321 PR bootstrap/54732
|
|
1322 * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
|
|
1323 * Makefile.am: Add dependencies for all objects.
|
|
1324 * configure, aclocal.m4, Makefile.in: Rebuild.
|
|
1325
|
|
1326 2012-09-27 Ian Lance Taylor <iant@google.com>
|
|
1327
|
|
1328 PR other/54726
|
|
1329 * elf.c (backtrace_initialize): Set *fileln_fn, not
|
|
1330 state->fileln_fn.
|
|
1331
|
|
1332 2012-09-19 Ian Lance Taylor <iant@google.com>
|
|
1333
|
|
1334 * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
|
|
1335 as a target library.
|
|
1336 * configure: Rebuild.
|
|
1337
|
|
1338 2012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
1339 Ian Lance Taylor <iant@google.com>
|
|
1340
|
131
|
1341 * configure.ac (GCC_HEADER_STDINT): Invoke.
|
|
1342 * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
|
|
1343 * btest.c: Don't include <stdint.h>.
|
|
1344 * dwarf.c: Likewise.
|
|
1345 * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
|
111
|
1346
|
|
1347 2012-09-18 Ian Lance Taylor <iant@google.com>
|
|
1348
|
|
1349 PR bootstrap/54623
|
|
1350 * Makefile.am (AM_CPPFLAGS): Define.
|
|
1351 (AM_CFLAGS): Remove -I options.
|
|
1352 * Makefile.in: Rebuild.
|
|
1353
|
|
1354 2012-09-18 Ian Lance Taylor <iant@google.com>
|
|
1355
|
|
1356 * posix.c (O_BINARY): Define if not defined.
|
|
1357 (backtrace_open): Pass O_BINARY to open. Only call fcntl if
|
|
1358 HAVE_FCNTL is defined.
|
|
1359 * configure.ac: Test for the fcntl function.
|
|
1360 * configure, config.h.in: Rebuild.
|
|
1361
|
|
1362 2012-09-18 Ian Lance Taylor <iant@google.com>
|
|
1363
|
|
1364 * btest.c (test1, test2, test3, test4): Add the unused attribute.
|
|
1365
|
|
1366 2012-09-18 Ian Lance Taylor <iant@google.com>
|
|
1367
|
|
1368 * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
|
|
1369
|
|
1370 2012-09-18 Ian Lance Taylor <iant@google.com>
|
|
1371
|
|
1372 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
|
|
1373 * mmapio.c: Don't define _GNU_SOURCE.
|
|
1374 * configure, config.h.in: Rebuild.
|
|
1375
|
|
1376 2012-09-18 Ian Lance Taylor <iant@google.com>
|
|
1377
|
|
1378 * configure.ac: Check whether strnlen is declared.
|
|
1379 * dwarf.c: Declare strnlen if not declared.
|
|
1380 * configure, config.h.in: Rebuild.
|
|
1381
|
|
1382 2012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
1383
|
|
1384 * fileline.c: Include <stdlib.h>.
|
|
1385 * mmap.c: Likewise.
|
|
1386
|
|
1387 2012-09-17 Ian Lance Taylor <iant@google.com>
|
|
1388
|
|
1389 PR bootstrap/54611
|
|
1390 * nounwind.c (backtrace_full): Rename from backtrace. Add state
|
|
1391 parameter.
|
|
1392
|
|
1393 2012-09-17 Gerald Pfeifer <gerald@pfeifer.com>
|
|
1394
|
|
1395 PR bootstrap/54611
|
|
1396 * nounwind.c (backtrace_simple): Add state parameter.
|
|
1397
|
|
1398 2012-09-17 Ian Lance Taylor <iant@google.com>
|
|
1399
|
|
1400 PR bootstrap/54609
|
|
1401 * unknown.c (unknown_fileline): Add state parameter, remove
|
|
1402 fileline_data parameter, name error_callback parameter.
|
|
1403 (backtrace_initialize): Add state parameter.
|
|
1404
|
|
1405 2012-09-17 Ian Lance Taylor <iant@google.com>
|
|
1406
|
|
1407 * Initial implementation.
|
|
1408
|
145
|
1409 Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
111
|
1410
|
|
1411 Copying and distribution of this file, with or without modification,
|
|
1412 are permitted in any medium without royalty provided the copyright
|
|
1413 notice and this notice are preserved.
|