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