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