gcc/libbacktrace
Rainer Orth 768505569c configure.ac (GCC_HEADER_STDINT): Invoke.
* 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-19 13:41:33 +00:00
..
ChangeLog configure.ac (GCC_HEADER_STDINT): Invoke. 2012-09-19 13:41:33 +00:00
Makefile.am re PR bootstrap/54623 (install fails with libbacktrace/backtrace.c:35:20: error: unwind.h: No such file or directory) 2012-09-19 04:37:40 +00:00
Makefile.in configure.ac (GCC_HEADER_STDINT): Invoke. 2012-09-19 13:41:33 +00:00
README libbacktrace/: 2012-09-17 16:38:38 +00:00
aclocal.m4 configure.ac (GCC_HEADER_STDINT): Invoke. 2012-09-19 13:41:33 +00:00
alloc.c libbacktrace/: 2012-09-17 16:38:38 +00:00
backtrace-supported.h.in libbacktrace/: 2012-09-17 16:38:38 +00:00
backtrace.c libbacktrace/: 2012-09-17 16:38:38 +00:00
backtrace.h configure.ac (GCC_HEADER_STDINT): Invoke. 2012-09-19 13:41:33 +00:00
btest.c configure.ac (GCC_HEADER_STDINT): Invoke. 2012-09-19 13:41:33 +00:00
config.h.in configure.ac (GCC_HEADER_STDINT): Invoke. 2012-09-19 13:41:33 +00:00
configure configure.ac (GCC_HEADER_STDINT): Invoke. 2012-09-19 13:41:33 +00:00
configure.ac configure.ac (GCC_HEADER_STDINT): Invoke. 2012-09-19 13:41:33 +00:00
dwarf.c configure.ac (GCC_HEADER_STDINT): Invoke. 2012-09-19 13:41:33 +00:00
elf.c libbacktrace/: 2012-09-17 16:38:38 +00:00
fileline.c Fix libbacktrace bootstrap with gcc 4.4 2012-09-18 09:02:50 +00:00
filetype.awk libbacktrace/: 2012-09-17 16:38:38 +00:00
internal.h libbacktrace/: 2012-09-17 16:38:38 +00:00
mmap.c Fix libbacktrace bootstrap with gcc 4.4 2012-09-18 09:02:50 +00:00
mmapio.c configure.ac: Add AC_USE_SYSTEM_EXTENSIONS. 2012-09-18 16:36:48 +00:00
nounwind.c re PR bootstrap/54611 (Bootstrap failure: conflicting types for 'backtrace_simple') 2012-09-17 21:14:51 +00:00
posix.c posix.c (O_BINARY): Define if not defined. 2012-09-18 18:06:28 +00:00
print.c libbacktrace/: 2012-09-17 16:38:38 +00:00
read.c libbacktrace/: 2012-09-17 16:38:38 +00:00
simple.c libbacktrace/: 2012-09-17 16:38:38 +00:00
state.c libbacktrace/: 2012-09-17 16:38:38 +00:00
unknown.c re PR bootstrap/54609 (libbacktrace breaks bootstrap on darwin) 2012-09-17 17:43:26 +00:00

README

The libbacktrace library
Initially written by Ian Lance Taylor <iant@google.com>

The libbacktrace library may be linked into a program or library and
used to produce symbolic backtraces.  Sample uses would be to print a
detailed backtrace when an error occurs or to gather detailed
profiling information.

The libbacktrace library is provided under a BSD license.  See the
source files for the exact license text.

The public functions are declared and documented in the header file
backtrace.h, which should be #include'd by a user of the library.

Building libbacktrace will generate a file backtrace-supported.h,
which a user of the library may use to determine whether backtraces
will work.  See the source file backtrace-supported.h.in for the
macros that it defines.

As of September 2012, libbacktrace only supports ELF executables with
DWARF debugging information.  The library is written to make it
straightforward to add support for other object file and debugging
formats.