| 1 |
2017-03-08 Sam Thursfield <[email protected]> |
| 2 |
|
| 3 |
* btest.c (test5): Replace #ifdef guard with 'unused' attribute |
| 4 |
to fix compile warning when BACKTRACE_SUPPORTED isn't defined. |
| 5 |
|
| 6 |
2017-01-01 Jakub Jelinek <[email protected]> |
| 7 |
|
| 8 |
Update copyright years. |
| 9 |
|
| 10 |
2016-11-15 Matthias Klose <[email protected]> |
| 11 |
|
| 12 |
* configure: Regenerate. |
| 13 |
|
| 14 |
2016-09-11 Carlos Liam <[email protected]> |
| 15 |
|
| 16 |
* all: Remove meaningless trailing whitespace. |
| 17 |
|
| 18 |
2016-05-18 Uros Bizjak <[email protected]> |
| 19 |
|
| 20 |
PR target/71161 |
| 21 |
* elf.c (phdr_callback) [__i386__]: Add |
| 22 |
__attribute__((__force_align_arg_pointer__)). |
| 23 |
|
| 24 |
2016-03-02 Maxim Ostapenko <[email protected]> |
| 25 |
|
| 26 |
* elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to |
| 27 |
avoid possible crash. |
| 28 |
(elf_add): Don't set *fileline_fn to elf_nodebug value in case of |
| 29 |
missing debug info anymore. |
| 30 |
|
| 31 |
2016-02-06 John David Anglin <[email protected]> |
| 32 |
|
| 33 |
* mmap.c (MAP_FAILED): Define if not defined. |
| 34 |
|
| 35 |
2016-01-04 Jakub Jelinek <[email protected]> |
| 36 |
|
| 37 |
Update copyright years. |
| 38 |
|
| 39 |
2015-12-18 Andris Pavenis <[email protected]> |
| 40 |
|
| 41 |
* configure.ac: Specify that DJGPP do not have mmap |
| 42 |
even when sys/mman.h exists. |
| 43 |
* configure: Regenerate |
| 44 |
|
| 45 |
2015-12-09 John David Anglin <[email protected]> |
| 46 |
|
| 47 |
PR libgfortran/68115 |
| 48 |
* configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*. |
| 49 |
* configure: Regenerate. |
| 50 |
* elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call |
| 51 |
to void. |
| 52 |
|
| 53 |
2015-09-17 Ian Lance Taylor <[email protected]> |
| 54 |
|
| 55 |
* posix.c (backtrace_open): Cast second argument of open() to int. |
| 56 |
|
| 57 |
2015-09-11 Ian Lance Taylor <[email protected]> |
| 58 |
|
| 59 |
* Makefile.am (backtrace.lo): Depend on internal.h. |
| 60 |
(sort.lo, stest.lo): Add explicit dependencies. |
| 61 |
* Makefile.in: Rebuild. |
| 62 |
|
| 63 |
2015-09-09 Hans-Peter Nilsson <[email protected]> |
| 64 |
|
| 65 |
* backtrace.c: #include <sys/types.h>. |
| 66 |
|
| 67 |
2015-09-08 Ian Lance Taylor <[email protected]> |
| 68 |
|
| 69 |
PR other/67457 |
| 70 |
* backtrace.c: #include "internal.h". |
| 71 |
(struct backtrace_data): Add can_alloc field. |
| 72 |
(unwind): If can_alloc is false, don't try to get file/line |
| 73 |
information. |
| 74 |
(backtrace_full): Set can_alloc field in bdata. |
| 75 |
* alloc.c (backtrace_alloc): Don't call error_callback if it is |
| 76 |
NULL. |
| 77 |
* mmap.c (backtrace_alloc): Likewise. |
| 78 |
* internal.h: Update comments for backtrace_alloc and |
| 79 |
backtrace_free. |
| 80 |
|
| 81 |
2015-09-08 Ian Lance Taylor <[email protected]> |
| 82 |
|
| 83 |
PR other/67457 |
| 84 |
* mmap.c (backtrace_alloc): Correct test for mmap failure. |
| 85 |
|
| 86 |
2015-08-31 Ulrich Weigand <[email protected]> |
| 87 |
|
| 88 |
* configure.ac: For spu-*-* targets, set have_fcntl to no. |
| 89 |
* configure: Regenerate. |
| 90 |
|
| 91 |
2015-08-27 Ulrich Weigand <[email protected]> |
| 92 |
|
| 93 |
* configure.ac: Remove [disable-shared] argument to LT_INIT. |
| 94 |
Remove setting PIC_FLAG when building as target library. |
| 95 |
* configure: Regenerate. |
| 96 |
|
| 97 |
2015-08-26 Hans-Peter Nilsson <[email protected]> |
| 98 |
|
| 99 |
* configure.ac: Only compile with -fPIC if the target |
| 100 |
supports it. |
| 101 |
* configure: Regenerate. |
| 102 |
|
| 103 |
2015-08-24 Ulrich Weigand <[email protected]> |
| 104 |
|
| 105 |
* configure.ac: Set have_mmap to no on spu-*-* targets. |
| 106 |
* configure: Regenerate. |
| 107 |
|
| 108 |
2015-08-13 Ian Lance Taylor <[email protected]> |
| 109 |
|
| 110 |
* dwarf.c (read_function_entry): Add vec_inlined parameter. |
| 111 |
Change all callers. |
| 112 |
|
| 113 |
2015-06-11 Martin Sebor <[email protected]> |
| 114 |
|
| 115 |
PR sanitizer/65479 |
| 116 |
* dwarf.c (struct line): Add new field idx. |
| 117 |
(line_compare): Use it. |
| 118 |
(add_line): Set it. |
| 119 |
(read_line_info): Reset it. |
| 120 |
|
| 121 |
2015-05-29 Tristan Gingold <[email protected]> |
| 122 |
|
| 123 |
* pecoff.c: New file. |
| 124 |
* Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies. |
| 125 |
* Makefile.in: Regenerate. |
| 126 |
* filetype.awk: Detect pecoff. |
| 127 |
* configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms. |
| 128 |
Add pecoff. |
| 129 |
* btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is |
| 130 |
true. |
| 131 |
* backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define. |
| 132 |
* configure: Regenerate. |
| 133 |
* pecoff.c: New file. |
| 134 |
|
| 135 |
2015-05-13 Michael Haubenwallner <[email protected]> |
| 136 |
|
| 137 |
* Makefile.in: Regenerated with automake-1.11.6. |
| 138 |
* aclocal.m4: Likewise. |
| 139 |
* configure: Likewise. |
| 140 |
|
| 141 |
2015-01-24 Matthias Klose <[email protected]> |
| 142 |
|
| 143 |
* configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC. |
| 144 |
* configure: Regenerate. |
| 145 |
|
| 146 |
2015-01-05 Jakub Jelinek <[email protected]> |
| 147 |
|
| 148 |
Update copyright years. |
| 149 |
|
| 150 |
2014-11-21 H.J. Lu <[email protected]> |
| 151 |
|
| 152 |
PR bootstrap/63784 |
| 153 |
* configure: Regenerated. |
| 154 |
|
| 155 |
2014-11-11 David Malcolm <[email protected]> |
| 156 |
|
| 157 |
* ChangeLog.jit: New. |
| 158 |
|
| 159 |
2014-11-11 Francois-Xavier Coudert <[email protected]> |
| 160 |
|
| 161 |
PR target/63610 |
| 162 |
* configure: Regenerate. |
| 163 |
|
| 164 |
2014-10-23 Ian Lance Taylor <[email protected]> |
| 165 |
|
| 166 |
* internal.h (backtrace_atomic_load_pointer) [no atomic or sync]: |
| 167 |
Fix to return void *. |
| 168 |
|
| 169 |
2014-05-08 Ian Lance Taylor <[email protected]> |
| 170 |
|
| 171 |
* mmap.c (backtrace_free): If freeing a large aligned block of |
| 172 |
memory, call munmap rather than holding onto it. |
| 173 |
(backtrace_vector_grow): When growing a vector, double the number |
| 174 |
of pages requested. When releasing the old version of a grown |
| 175 |
vector, pass the correct size to backtrace_free. |
| 176 |
|
| 177 |
2014-03-07 Ian Lance Taylor <[email protected]> |
| 178 |
|
| 179 |
* sort.c (backtrace_qsort): Use middle element as pivot. |
| 180 |
|
| 181 |
2014-03-06 Ian Lance Taylor <[email protected]> |
| 182 |
|
| 183 |
* sort.c: New file. |
| 184 |
* stest.c: New file. |
| 185 |
* internal.h (backtrace_qsort): Declare. |
| 186 |
* dwarf.c (read_abbrevs): Call backtrace_qsort instead of qsort. |
| 187 |
(read_line_info, read_function_entry): Likewise. |
| 188 |
(read_function_info, build_dwarf_data): Likewise. |
| 189 |
* elf.c (elf_initialize_syminfo): Likewise. |
| 190 |
* Makefile.am (libbacktrace_la_SOURCES): Add sort.c. |
| 191 |
(stest_SOURCES, stest_LDADD): Define. |
| 192 |
(check_PROGRAMS): Add stest. |
| 193 |
|
| 194 |
2014-02-07 Misty De Meo <[email protected]> |
| 195 |
|
| 196 |
PR target/58710 |
| 197 |
* configure.ac: Use AC_LINK_IFELSE in check for |
| 198 |
_Unwind_GetIPInfo. |
| 199 |
* configure: Regenerate. |
| 200 |
|
| 201 |
2014-01-02 Richard Sandiford <[email protected]> |
| 202 |
|
| 203 |
Update copyright years |
| 204 |
|
| 205 |
2013-12-06 Jakub Jelinek <[email protected]> |
| 206 |
|
| 207 |
* elf.c (ET_DYN): Undefine and define again. |
| 208 |
(elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN, |
| 209 |
return early -1 without closing the descriptor. |
| 210 |
(struct phdr_data): Add exe_descriptor. |
| 211 |
(phdr_callback): If pd->exe_descriptor is not -1, for very first |
| 212 |
call if dlpi_name is NULL just call elf_add with the exe_descriptor, |
| 213 |
otherwise backtrace_close the exe_descriptor if not -1. Adjust |
| 214 |
call to elf_add. |
| 215 |
(backtrace_initialize): Adjust call to elf_add. If it returns |
| 216 |
-1, set pd.exe_descriptor to descriptor, otherwise set it to -1. |
| 217 |
|
| 218 |
2013-12-05 Ian Lance Taylor <[email protected]> |
| 219 |
|
| 220 |
* alloc.c (backtrace_vector_finish): Add error_callback and data |
| 221 |
parameters. Call backtrace_vector_release. Return address base. |
| 222 |
* mmap.c (backtrace_vector_finish): Add error_callback and data |
| 223 |
parameters. Return address base. |
| 224 |
* dwarf.c (read_function_info): Get new address base from |
| 225 |
backtrace_vector_finish. |
| 226 |
* internal.h (backtrace_vector_finish): Update declaration. |
| 227 |
|
| 228 |
2013-11-27 Ian Lance Taylor <[email protected]> |
| 229 |
|
| 230 |
* dwarf.c (find_address_ranges): New static function, broken out |
| 231 |
of build_address_map. |
| 232 |
(build_address_map): Call it. |
| 233 |
* btest.c (check): Check for missing filename or function, rather |
| 234 |
than crashing. |
| 235 |
(f3): Check that enough frames were returned. |
| 236 |
|
| 237 |
2013-11-19 Jakub Jelinek <[email protected]> |
| 238 |
|
| 239 |
* backtrace.h (backtrace_syminfo_callback): Add symsize argument. |
| 240 |
* elf.c (elf_syminfo): Pass 0 or sym->size to the callback as |
| 241 |
last argument. |
| 242 |
* btest.c (struct symdata): Add size field. |
| 243 |
(callback_three): Add symsize argument. Copy it to the data->size |
| 244 |
field. |
| 245 |
(f23): Set symdata.size to 0. |
| 246 |
(test5): Likewise. If sizeof (int) > 1, lookup address of |
| 247 |
((uintptr_t) &global) + 1. Verify symdata.val and symdata.size |
| 248 |
values. |
| 249 |
|
| 250 |
* atomic.c: Include sys/types.h. |
| 251 |
|
| 252 |
2013-11-18 Ian Lance Taylor <[email protected]> |
| 253 |
|
| 254 |
* configure.ac: Check for support of __atomic extensions. |
| 255 |
* internal.h: Declare or #define atomic functions for use in |
| 256 |
backtrace code. |
| 257 |
* atomic.c: New file. |
| 258 |
* dwarf.c (dwarf_lookup_pc): Use atomic functions. |
| 259 |
(dwarf_fileline, backtrace_dwarf_add): Likewise. |
| 260 |
* elf.c (elf_add_syminfo_data, elf_syminfo): Likewise. |
| 261 |
(backtrace_initialize): Likewise. |
| 262 |
* fileline.c (fileline_initialize): Likewise. |
| 263 |
* Makefile.am (libbacktrace_la_SOURCES): Add atomic.c. |
| 264 |
* configure, config.h.in, Makefile.in: Rebuild. |
| 265 |
|
| 266 |
2013-11-18 Jakub Jelinek <[email protected]> |
| 267 |
|
| 268 |
* elf.c (SHN_UNDEF): Define. |
| 269 |
(elf_initialize_syminfo): Add base_address argument. Ignore symbols |
| 270 |
with st_shndx == SHN_UNDEF. Add base_address to address fields. |
| 271 |
(elf_add): Adjust caller. |
| 272 |
|
| 273 |
* elf.c (phdr_callback): Process info->dlpi_addr == 0 normally. |
| 274 |
|
| 275 |
2013-11-16 Ian Lance Taylor <[email protected]> |
| 276 |
|
| 277 |
* backtrace.h (backtrace_create_state): Correct comment about |
| 278 |
threading. |
| 279 |
|
| 280 |
2013-11-15 Ian Lance Taylor <[email protected]> |
| 281 |
|
| 282 |
* backtrace.h (backtrace_syminfo): Update comment and parameter |
| 283 |
name to take any address, not just a PC value. |
| 284 |
* elf.c (STT_OBJECT): Define. |
| 285 |
(elf_nosyms): Rename parameter pc to addr. |
| 286 |
(elf_symbol_search): Rename local variable pc to addr. |
| 287 |
(elf_initialize_syminfo): Add STT_OBJECT symbols to elf_symbols. |
| 288 |
(elf_syminfo): Rename parameter pc to addr. |
| 289 |
* btest.c (global): New global variable. |
| 290 |
(test5): New test. |
| 291 |
(main): Call test5. |
| 292 |
|
| 293 |
2013-10-17 Ian Lance Taylor <[email protected]> |
| 294 |
|
| 295 |
* elf.c (elf_add): Don't get the wrong offsets if a debug section |
| 296 |
is missing. |
| 297 |
|
| 298 |
2013-10-15 David Malcolm <[email protected]> |
| 299 |
|
| 300 |
* configure.ac: Add --enable-host-shared, setting up |
| 301 |
pre-existing PIC_FLAG variable within Makefile.am et al. |
| 302 |
* configure: Regenerate. |
| 303 |
|
| 304 |
2013-09-20 Alan Modra <[email protected]> |
| 305 |
|
| 306 |
* configure: Regenerate. |
| 307 |
|
| 308 |
2013-07-23 Alexander Monakov <[email protected]> |
| 309 |
|
| 310 |
* elf.c (elf_syminfo): Loop over the elf_syminfo_data chain. |
| 311 |
|
| 312 |
2013-07-23 Alexander Monakov <[email protected]> |
| 313 |
|
| 314 |
* elf.c (backtrace_initialize): Pass elf_fileline_fn to |
| 315 |
dl_iterate_phdr callbacks. |
| 316 |
|
| 317 |
2013-03-25 Ian Lance Taylor <[email protected]> |
| 318 |
|
| 319 |
* alloc.c: #include <sys/types.h>. |
| 320 |
* mmap.c: Likewise. |
| 321 |
|
| 322 |
2013-01-31 Ian Lance Taylor <[email protected]> |
| 323 |
|
| 324 |
* dwarf.c (read_function_info): Permit fvec parameter to be NULL. |
| 325 |
(dwarf_lookup_pc): Don't use ddata->fvec if threaded. |
| 326 |
|
| 327 |
2013-01-25 Jakub Jelinek <[email protected]> |
| 328 |
|
| 329 |
PR other/56076 |
| 330 |
* dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir |
| 331 |
attribute was not seen. |
| 332 |
|
| 333 |
2013-01-16 Ian Lance Taylor <[email protected]> |
| 334 |
|
| 335 |
* dwarf.c (struct unit): Add filename and abs_filename fields. |
| 336 |
(build_address_map): Set new fields when reading unit. |
| 337 |
(dwarf_lookup_pc): If we don't find an entry in the line table, |
| 338 |
just return the main file name. |
| 339 |
|
| 340 |
2013-01-14 Richard Sandiford <[email protected]> |
| 341 |
|
| 342 |
Update copyright years. |
| 343 |
|
| 344 |
2013-01-01 Ian Lance Taylor <[email protected]> |
| 345 |
|
| 346 |
PR bootstrap/54834 |
| 347 |
* Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I |
| 348 |
$(MULTIBUILDTOP)/../../gcc/include. |
| 349 |
* Makefile.in: Rebuild. |
| 350 |
|
| 351 |
2013-01-01 Ian Lance Taylor <[email protected]> |
| 352 |
|
| 353 |
PR other/55536 |
| 354 |
* mmap.c (backtrace_alloc): Don't call sync functions if not |
| 355 |
threaded. |
| 356 |
(backtrace_free): Likewise. |
| 357 |
|
| 358 |
2012-12-12 John David Anglin <[email protected]> |
| 359 |
|
| 360 |
* mmapio.c: Define MAP_FAILED if not defined. |
| 361 |
|
| 362 |
2012-12-11 Jakub Jelinek <[email protected]> |
| 363 |
|
| 364 |
PR bootstrap/54926 |
| 365 |
* Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@. |
| 366 |
* configure.ac: If --with-target-subdir, add -frandom-seed=$@ |
| 367 |
to EXTRA_FLAGS unconditionally, otherwise check whether the compiler |
| 368 |
accepts it. |
| 369 |
* Makefile.in: Regenerated. |
| 370 |
* configure: Regenerated. |
| 371 |
|
| 372 |
2012-12-07 Jakub Jelinek <[email protected]> |
| 373 |
|
| 374 |
PR bootstrap/54926 |
| 375 |
* Makefile.am (AM_CFLAGS): Add -frandom-seed=$@. |
| 376 |
* Makefile.in: Regenerated. |
| 377 |
|
| 378 |
2012-11-20 Ian Lance Taylor <[email protected]> |
| 379 |
|
| 380 |
* dwarf.c (read_attribute): Always clear val. |
| 381 |
|
| 382 |
2012-11-13 Ian Lance Taylor <[email protected]> |
| 383 |
|
| 384 |
PR other/55312 |
| 385 |
* configure.ac: Only add -Werror if building a target library. |
| 386 |
* configure: Rebuild. |
| 387 |
|
| 388 |
2012-11-12 Ian Lance Taylor <[email protected]> |
| 389 |
Rainer Orth <[email protected]> |
| 390 |
Gerald Pfeifer <[email protected]> |
| 391 |
|
| 392 |
* configure.ac: Check for getexecname. |
| 393 |
* fileline.c: #include <errno.h>. Define getexecname if not |
| 394 |
available. |
| 395 |
(fileline_initialize): Try to find the executable in a few |
| 396 |
different ways. |
| 397 |
* print.c (error_callback): Only print the filename if it came |
| 398 |
from the backtrace state. |
| 399 |
* configure, config.h.in: Rebuild. |
| 400 |
|
| 401 |
2012-10-29 Ian Lance Taylor <[email protected]> |
| 402 |
|
| 403 |
* mmap.c (backtrace_vector_release): Correct last patch: add |
| 404 |
aligned, not size. |
| 405 |
|
| 406 |
2012-10-29 Ian Lance Taylor <[email protected]> |
| 407 |
|
| 408 |
* mmap.c (backtrace_vector_release): Make sure freed block is |
| 409 |
aligned on 8-byte boundary. |
| 410 |
|
| 411 |
2012-10-26 Ian Lance Taylor <[email protected]> |
| 412 |
|
| 413 |
PR other/55087 |
| 414 |
* posix.c (backtrace_open): Add does_not_exist parameter. |
| 415 |
* elf.c (phdr_callback): Do not warn if shared library could not |
| 416 |
be opened. |
| 417 |
* fileline.c (fileline_initialize): Update calls to |
| 418 |
backtrace_open. |
| 419 |
* internal.h (backtrace_open): Update declaration. |
| 420 |
|
| 421 |
2012-10-26 Jack Howarth <[email protected]> |
| 422 |
|
| 423 |
PR target/55061 |
| 424 |
* configure.ac: Check for _Unwind_GetIPInfo function declaration. |
| 425 |
* configure: Regenerate. |
| 426 |
|
| 427 |
2012-10-24 Ian Lance Taylor <[email protected]> |
| 428 |
|
| 429 |
PR target/55061 |
| 430 |
* configure.ac: Check whether -funwind-tables option works. |
| 431 |
* configure: Rebuild. |
| 432 |
|
| 433 |
2012-10-11 Ian Lance Taylor <[email protected]> |
| 434 |
|
| 435 |
* configure.ac: Do not use dl_iterate_phdr on Solaris 10. |
| 436 |
* configure: Rebuild. |
| 437 |
|
| 438 |
2012-10-10 Ian Lance Taylor <[email protected]> |
| 439 |
|
| 440 |
* elf.c: Rename all Elf typedefs to start with b_elf, and be all |
| 441 |
lower case. |
| 442 |
|
| 443 |
2012-10-10 Hans-Peter Nilsson <[email protected]> |
| 444 |
|
| 445 |
* elf.c (elf_add_syminfo_data): Add casts to avoid warning. |
| 446 |
|
| 447 |
2012-10-09 Ian Lance Taylor <[email protected]> |
| 448 |
|
| 449 |
* dwarf.c (dwarf_fileline): Add cast to avoid warning. |
| 450 |
(backtrace_dwarf_add): Likewise. |
| 451 |
|
| 452 |
2012-10-09 Ian Lance Taylor <[email protected]> |
| 453 |
|
| 454 |
Add support for tracing through shared libraries. |
| 455 |
* configure.ac: Check for link.h and dl_iterate_phdr. |
| 456 |
* elf.c: #include <link.h> if system has dl_iterate_phdr. #undef |
| 457 |
ELF macros before #defining them. |
| 458 |
(dl_phdr_info, dl_iterate_phdr): Define if system does not have |
| 459 |
dl_iterate_phdr. |
| 460 |
(struct elf_syminfo_data): Add next field. |
| 461 |
(elf_initialize_syminfo): Initialize next field. |
| 462 |
(elf_add_syminfo_data): New static function. |
| 463 |
(elf_add): New static function, broken out of |
| 464 |
backtrace_initialize. Call backtrace_dwarf_add instead of |
| 465 |
backtrace_dwarf_initialize. |
| 466 |
(struct phdr_data): Define. |
| 467 |
(phdr_callback): New static function. |
| 468 |
(backtrace_initialize): Call elf_add. |
| 469 |
* dwarf.c (struct dwarf_data): Add next and base_address fields. |
| 470 |
(add_unit_addr): Add base_address parameter. Change all callers. |
| 471 |
(add_unit_ranges, build_address_map): Likewise. |
| 472 |
(add_line): Add ddata parameter. Change all callers. |
| 473 |
(read_line_program, add_function_range): Likewise. |
| 474 |
(dwarf_lookup_pc): New static function, broken out of |
| 475 |
dwarf_fileline. |
| 476 |
(dwarf_fileline): Call dwarf_lookup_pc. |
| 477 |
(build_dwarf_data): New static function. |
| 478 |
(backtrace_dwarf_add): New function. |
| 479 |
(backtrace_dwarf_initialize): Remove. |
| 480 |
* internal.h (backtrace_dwarf_initialize): Don't declare. |
| 481 |
(backtrace_dwarf_add): Declare. |
| 482 |
* configure, config.h.in: Rebuild. |
| 483 |
|
| 484 |
2012-10-04 Gerald Pfeifer <[email protected]> |
| 485 |
|
| 486 |
* btest.c (f23): Avoid uninitialized variable warning. |
| 487 |
|
| 488 |
2012-10-04 Ian Lance Taylor <[email protected]> |
| 489 |
|
| 490 |
* dwarf.c: If the system header files do not declare strnlen, |
| 491 |
provide our own version. |
| 492 |
|
| 493 |
2012-10-03 Ian Lance Taylor <[email protected]> |
| 494 |
|
| 495 |
* dwarf.c (read_uleb128): Fix overflow test. |
| 496 |
(read_sleb128): Likewise. |
| 497 |
(build_address_map): Don't change unit_buf.start. |
| 498 |
|
| 499 |
2012-10-02 Uros Bizjak <[email protected]> |
| 500 |
|
| 501 |
PR other/54761 |
| 502 |
* configure.ac (EXTRA_FLAGS): New. |
| 503 |
* Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS). |
| 504 |
* configure, Makefile.in: Regenerate. |
| 505 |
|
| 506 |
2012-09-29 Ian Lance Taylor <[email protected]> |
| 507 |
|
| 508 |
PR other/54749 |
| 509 |
* fileline.c (fileline_initialize): Pass errnum as -1 when |
| 510 |
reporting that we could not read executable information after a |
| 511 |
previous failure. |
| 512 |
|
| 513 |
2012-09-27 Ian Lance Taylor <[email protected]> |
| 514 |
|
| 515 |
PR bootstrap/54732 |
| 516 |
* configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE. |
| 517 |
* Makefile.am: Add dependencies for all objects. |
| 518 |
* configure, aclocal.m4, Makefile.in: Rebuild. |
| 519 |
|
| 520 |
2012-09-27 Ian Lance Taylor <[email protected]> |
| 521 |
|
| 522 |
PR other/54726 |
| 523 |
* elf.c (backtrace_initialize): Set *fileln_fn, not |
| 524 |
state->fileln_fn. |
| 525 |
|
| 526 |
2012-09-19 Ian Lance Taylor <[email protected]> |
| 527 |
|
| 528 |
* configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled |
| 529 |
as a target library. |
| 530 |
* configure: Rebuild. |
| 531 |
|
| 532 |
2012-09-19 Rainer Orth <[email protected]> |
| 533 |
Ian Lance Taylor <[email protected]> |
| 534 |
|
| 535 |
* configure.ac (GCC_HEADER_STDINT): Invoke. |
| 536 |
* backtrace.h: If we can't find <stdint.h>, use "gstdint.h". |
| 537 |
* btest.c: Don't include <stdint.h>. |
| 538 |
* dwarf.c: Likewise. |
| 539 |
* configure, aclocal.m4, Makefile.in, config.h.in: Rebuild. |
| 540 |
|
| 541 |
2012-09-18 Ian Lance Taylor <[email protected]> |
| 542 |
|
| 543 |
PR bootstrap/54623 |
| 544 |
* Makefile.am (AM_CPPFLAGS): Define. |
| 545 |
(AM_CFLAGS): Remove -I options. |
| 546 |
* Makefile.in: Rebuild. |
| 547 |
|
| 548 |
2012-09-18 Ian Lance Taylor <[email protected]> |
| 549 |
|
| 550 |
* posix.c (O_BINARY): Define if not defined. |
| 551 |
(backtrace_open): Pass O_BINARY to open. Only call fcntl if |
| 552 |
HAVE_FCNTL is defined. |
| 553 |
* configure.ac: Test for the fcntl function. |
| 554 |
* configure, config.h.in: Rebuild. |
| 555 |
|
| 556 |
2012-09-18 Ian Lance Taylor <[email protected]> |
| 557 |
|
| 558 |
* btest.c (test1, test2, test3, test4): Add the unused attribute. |
| 559 |
|
| 560 |
2012-09-18 Ian Lance Taylor <[email protected]> |
| 561 |
|
| 562 |
* dwarf.c: Correct test of HAVE_DECL_STRNLEN. |
| 563 |
|
| 564 |
2012-09-18 Ian Lance Taylor <[email protected]> |
| 565 |
|
| 566 |
* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS. |
| 567 |
* mmapio.c: Don't define _GNU_SOURCE. |
| 568 |
* configure, config.h.in: Rebuild. |
| 569 |
|
| 570 |
2012-09-18 Ian Lance Taylor <[email protected]> |
| 571 |
|
| 572 |
* configure.ac: Check whether strnlen is declared. |
| 573 |
* dwarf.c: Declare strnlen if not declared. |
| 574 |
* configure, config.h.in: Rebuild. |
| 575 |
|
| 576 |
2012-09-18 Rainer Orth <[email protected]> |
| 577 |
|
| 578 |
* fileline.c: Include <stdlib.h>. |
| 579 |
* mmap.c: Likewise. |
| 580 |
|
| 581 |
2012-09-17 Ian Lance Taylor <[email protected]> |
| 582 |
|
| 583 |
PR bootstrap/54611 |
| 584 |
* nounwind.c (backtrace_full): Rename from backtrace. Add state |
| 585 |
parameter. |
| 586 |
|
| 587 |
2012-09-17 Gerald Pfeifer <[email protected]> |
| 588 |
|
| 589 |
PR bootstrap/54611 |
| 590 |
* nounwind.c (backtrace_simple): Add state parameter. |
| 591 |
|
| 592 |
2012-09-17 Ian Lance Taylor <[email protected]> |
| 593 |
|
| 594 |
PR bootstrap/54609 |
| 595 |
* unknown.c (unknown_fileline): Add state parameter, remove |
| 596 |
fileline_data parameter, name error_callback parameter. |
| 597 |
(backtrace_initialize): Add state parameter. |
| 598 |
|
| 599 |
2012-09-17 Ian Lance Taylor <[email protected]> |
| 600 |
|
| 601 |
* Initial implementation. |
| 602 |
|
| 603 |
Copyright (C) 2012-2017 Free Software Foundation, Inc. |
| 604 |
|
| 605 |
Copying and distribution of this file, with or without modification, |
| 606 |
are permitted in any medium without royalty provided the copyright |
| 607 |
notice and this notice are preserved. |