aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace
AgeCommit message (Collapse)AuthorFilesLines
2012-10-04* btest.c (f23): Avoid uninitialized variable warning.Gerald Pfeifer2-1/+5
From-SVN: r192102
2012-10-04dwarf.c: If the system header files do not declare strnlen, provide our own ↵Ian Lance Taylor2-2/+21
version. * dwarf.c: If the system header files do not declare strnlen, provide our own version. From-SVN: r192082
2012-10-03dwarf.c (read_uleb128): Fix overflow test.Ian Lance Taylor2-10/+25
* dwarf.c (read_uleb128): Fix overflow test. (read_sleb128): Likewise. (build_address_map): Don't change unit_buf.start. From-SVN: r192053
2012-10-02ChangeLog: Fix whitespace.Uros Bizjak1-3/+3
* gcc/ChangeLog: Fix whitespace. * libbacktrace/ChangeLog: Ditto. From-SVN: r191982
2012-10-02re PR other/54761 (FAIL log)Uros Bizjak5-5/+26
PR other/54761 * configure.ac (EXTRA_FLAGS): New. * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS). * configure, Makefile.in: Regenerate. From-SVN: r191981
2012-09-29re PR other/54749 (libbacktrace)Ian Lance Taylor2-1/+8
PR other/54749 * fileline.c (fileline_initialize): Pass errnum as -1 when reporting that we could not read executable information after a previous failure. From-SVN: r191855
2012-09-28re PR bootstrap/54732 (Installation failure: libbacktrace rebuilds upon ↵Ian Lance Taylor6-682/+100
install when built with "make bootstrap-lean") PR bootstrap/54732 * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE. * Makefile.am: Add dependencies for all objects. * configure, aclocal.m4, Makefile.in: Rebuild. From-SVN: r191819
2012-09-27re PR other/54726 (libbacktrace segfaults on gcc_asserts with stripped gcc)Ian Lance Taylor2-1/+7
PR other/54726 * elf.c (backtrace_initialize): Set *fileln_fn, not state->fileln_fn. From-SVN: r191811
2012-09-19configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled as a target ↵Ian Lance Taylor3-1/+30
library. * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled as a target library. * configure: Rebuild. From-SVN: r191503
2012-09-19configure.ac (GCC_HEADER_STDINT): Invoke.Rainer Orth9-5/+1078
* configure.ac (GCC_HEADER_STDINT): Invoke. * backtrace.h: If we can't find <stdint.h>, use "gstdint.h". * btest.c: Don't include <stdint.h>. * dwarf.c: Likewise. * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild. Co-Authored-By: Ian Lance Taylor <iant@google.com> From-SVN: r191474
2012-09-19re PR bootstrap/54623 (install fails with libbacktrace/backtrace.c:35:20: ↵Ian Lance Taylor3-2/+15
error: unwind.h: No such file or directory) PR bootstrap/54623 * Makefile.am (AM_CPPFLAGS): Define. (AM_CFLAGS): Remove -I options. * Makefile.in: Rebuild. From-SVN: r191459
2012-09-18posix.c (O_BINARY): Define if not defined.Ian Lance Taylor5-1/+53
* posix.c (O_BINARY): Define if not defined. (backtrace_open): Pass O_BINARY to open. Only call fcntl if HAVE_FCNTL is defined. * configure.ac: Test for the fcntl function. * configure, config.h.in: Rebuild. From-SVN: r191443
2012-09-18* btest.c (test1, test2, test3, test4): Add the unused attribute.Ian Lance Taylor2-4/+8
From-SVN: r191440
2012-09-18* dwarf.c: Correct test of HAVE_DECL_STRNLEN.Ian Lance Taylor2-1/+5
From-SVN: r191437
2012-09-18configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.Ian Lance Taylor5-995/+1639
* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS. * mmapio.c: Don't define _GNU_SOURCE. * configure, config.h.in: Rebuild. From-SVN: r191435
2012-09-18configure.ac: Check whether strnlen is declared.Ian Lance Taylor5-2/+77
* configure.ac: Check whether strnlen is declared. * dwarf.c: Declare strnlen if not declared. * configure, config.h.in: Rebuild. From-SVN: r191433
2012-09-18Fix libbacktrace bootstrap with gcc 4.4Rainer Orth3-0/+7
* fileline.c: Include <stdlib.h>. * mmap.c: Likewise. From-SVN: r191414
2012-09-17re PR bootstrap/54611 (Bootstrap failure: conflicting types for ↵Ian Lance Taylor2-3/+10
'backtrace_simple') PR bootstrap/54611 * nounwind.c (backtrace_full): Rename from backtrace. Add state parameter. From-SVN: r191408
2012-09-17re PR bootstrap/54611 (Bootstrap failure: conflicting types for ↵Gerald Pfeifer2-1/+7
'backtrace_simple') PR bootstrap/54611 * nounwind.c (backtrace_simple): Add state parameter. From-SVN: r191405
2012-09-17re PR bootstrap/54609 (libbacktrace breaks bootstrap on darwin)Ian Lance Taylor2-6/+13
PR bootstrap/54609 * unknown.c (unknown_fileline): Add state parameter, remove fileline_data parameter, name error_callback parameter. (backtrace_initialize): Add state parameter. From-SVN: r191402
2012-09-17libbacktrace/:Ian Lance Taylor27-0/+21527
* Initial implementation. ./: * MAINTAINERS (Various Maintainers): Add libbacktrace. * configure.ac (host_libs): Add libbacktrace. (target_libraries): Add libbacktrace. * Makefile.def (host_modules): Add libbacktrace. (target_modules): Likewise. * configure, Makefile.in: Rebuild. gcc/go: * config-lang.in (target_libs): Add target-libbacktrace. From-SVN: r191397