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