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