]> git.ipfire.org Git - thirdparty/gcc.git/blob - libbacktrace/ChangeLog
re PR target/55061 (libbacktrace build fails during bootstrap on powerpc-apple-darwin9)
[thirdparty/gcc.git] / libbacktrace / ChangeLog
1 2012-10-26 Jack Howarth <howarth@bromo.med.uc.edu>
2
3 PR target/55061
4 * configure.ac: Check for _Unwind_GetIPInfo function declaration.
5 * configure: Regenerate.
6
7 2012-10-24 Ian Lance Taylor <iant@google.com>
8
9 PR target/55061
10 * configure.ac: Check whether -funwind-tables option works.
11 * configure: Rebuild.
12
13 2012-10-11 Ian Lance Taylor <iant@google.com>
14
15 * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
16 * configure: Rebuild.
17
18 2012-10-10 Ian Lance Taylor <iant@google.com>
19
20 * elf.c: Rename all Elf typedefs to start with b_elf, and be all
21 lower case.
22
23 2012-10-10 Hans-Peter Nilsson <hp@bitrange.com>
24
25 * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
26
27 2012-10-09 Ian Lance Taylor <iant@google.com>
28
29 * dwarf.c (dwarf_fileline): Add cast to avoid warning.
30 (backtrace_dwarf_add): Likewise.
31
32 2012-10-09 Ian Lance Taylor <iant@google.com>
33
34 Add support for tracing through shared libraries.
35 * configure.ac: Check for link.h and dl_iterate_phdr.
36 * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef
37 ELF macros before #defining them.
38 (dl_phdr_info, dl_iterate_phdr): Define if system does not have
39 dl_iterate_phdr.
40 (struct elf_syminfo_data): Add next field.
41 (elf_initialize_syminfo): Initialize next field.
42 (elf_add_syminfo_data): New static function.
43 (elf_add): New static function, broken out of
44 backtrace_initialize. Call backtrace_dwarf_add instead of
45 backtrace_dwarf_initialize.
46 (struct phdr_data): Define.
47 (phdr_callback): New static function.
48 (backtrace_initialize): Call elf_add.
49 * dwarf.c (struct dwarf_data): Add next and base_address fields.
50 (add_unit_addr): Add base_address parameter. Change all callers.
51 (add_unit_ranges, build_address_map): Likewise.
52 (add_line): Add ddata parameter. Change all callers.
53 (read_line_program, add_function_range): Likewise.
54 (dwarf_lookup_pc): New static function, broken out of
55 dwarf_fileline.
56 (dwarf_fileline): Call dwarf_lookup_pc.
57 (build_dwarf_data): New static function.
58 (backtrace_dwarf_add): New function.
59 (backtrace_dwarf_initialize): Remove.
60 * internal.h (backtrace_dwarf_initialize): Don't declare.
61 (backtrace_dwarf_add): Declare.
62 * configure, config.h.in: Rebuild.
63
64 2012-10-04 Gerald Pfeifer <gerald@pfeifer.com>
65
66 * btest.c (f23): Avoid uninitialized variable warning.
67
68 2012-10-04 Ian Lance Taylor <iant@google.com>
69
70 * dwarf.c: If the system header files do not declare strnlen,
71 provide our own version.
72
73 2012-10-03 Ian Lance Taylor <iant@google.com>
74
75 * dwarf.c (read_uleb128): Fix overflow test.
76 (read_sleb128): Likewise.
77 (build_address_map): Don't change unit_buf.start.
78
79 2012-10-02 Uros Bizjak <ubizjak@gmail.com>
80
81 PR other/54761
82 * configure.ac (EXTRA_FLAGS): New.
83 * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
84 * configure, Makefile.in: Regenerate.
85
86 2012-09-29 Ian Lance Taylor <iant@google.com>
87
88 PR other/54749
89 * fileline.c (fileline_initialize): Pass errnum as -1 when
90 reporting that we could not read executable information after a
91 previous failure.
92
93 2012-09-27 Ian Lance Taylor <iant@google.com>
94
95 PR bootstrap/54732
96 * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
97 * Makefile.am: Add dependencies for all objects.
98 * configure, aclocal.m4, Makefile.in: Rebuild.
99
100 2012-09-27 Ian Lance Taylor <iant@google.com>
101
102 PR other/54726
103 * elf.c (backtrace_initialize): Set *fileln_fn, not
104 state->fileln_fn.
105
106 2012-09-19 Ian Lance Taylor <iant@google.com>
107
108 * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
109 as a target library.
110 * configure: Rebuild.
111
112 2012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
113 Ian Lance Taylor <iant@google.com>
114
115 * configure.ac (GCC_HEADER_STDINT): Invoke.
116 * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
117 * btest.c: Don't include <stdint.h>.
118 * dwarf.c: Likewise.
119 * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
120
121 2012-09-18 Ian Lance Taylor <iant@google.com>
122
123 PR bootstrap/54623
124 * Makefile.am (AM_CPPFLAGS): Define.
125 (AM_CFLAGS): Remove -I options.
126 * Makefile.in: Rebuild.
127
128 2012-09-18 Ian Lance Taylor <iant@google.com>
129
130 * posix.c (O_BINARY): Define if not defined.
131 (backtrace_open): Pass O_BINARY to open. Only call fcntl if
132 HAVE_FCNTL is defined.
133 * configure.ac: Test for the fcntl function.
134 * configure, config.h.in: Rebuild.
135
136 2012-09-18 Ian Lance Taylor <iant@google.com>
137
138 * btest.c (test1, test2, test3, test4): Add the unused attribute.
139
140 2012-09-18 Ian Lance Taylor <iant@google.com>
141
142 * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
143
144 2012-09-18 Ian Lance Taylor <iant@google.com>
145
146 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
147 * mmapio.c: Don't define _GNU_SOURCE.
148 * configure, config.h.in: Rebuild.
149
150 2012-09-18 Ian Lance Taylor <iant@google.com>
151
152 * configure.ac: Check whether strnlen is declared.
153 * dwarf.c: Declare strnlen if not declared.
154 * configure, config.h.in: Rebuild.
155
156 2012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
157
158 * fileline.c: Include <stdlib.h>.
159 * mmap.c: Likewise.
160
161 2012-09-17 Ian Lance Taylor <iant@google.com>
162
163 PR bootstrap/54611
164 * nounwind.c (backtrace_full): Rename from backtrace. Add state
165 parameter.
166
167 2012-09-17 Gerald Pfeifer <gerald@pfeifer.com>
168
169 PR bootstrap/54611
170 * nounwind.c (backtrace_simple): Add state parameter.
171
172 2012-09-17 Ian Lance Taylor <iant@google.com>
173
174 PR bootstrap/54609
175 * unknown.c (unknown_fileline): Add state parameter, remove
176 fileline_data parameter, name error_callback parameter.
177 (backtrace_initialize): Add state parameter.
178
179 2012-09-17 Ian Lance Taylor <iant@google.com>
180
181 * Initial implementation.