gcc/libbacktrace
John David Anglin 85619b6fc1 mmapio.c: Define MAP_FAILED if not defined.
* mmapio.c: Define MAP_FAILED if not defined.

From-SVN: r194443
2012-12-12 13:06:53 +00:00
..
ChangeLog mmapio.c: Define MAP_FAILED if not defined. 2012-12-12 13:06:53 +00:00
Makefile.am re PR bootstrap/54926 (Bootstrap comparison failure for various files in libbacktrace) 2012-12-11 19:45:45 +01:00
Makefile.in re PR bootstrap/54926 (Bootstrap comparison failure for various files in libbacktrace) 2012-12-11 19:45:45 +01:00
README libbacktrace/: 2012-09-17 16:38:38 +00:00
aclocal.m4 re PR bootstrap/54732 (Installation failure: libbacktrace rebuilds upon install when built with "make bootstrap-lean") 2012-09-28 06:13:00 +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 * btest.c (f23): Avoid uninitialized variable warning. 2012-10-04 20:16:08 +00:00
config.h.in configure.ac: Check for getexecname. 2012-11-12 21:24:19 +00:00
configure re PR bootstrap/54926 (Bootstrap comparison failure for various files in libbacktrace) 2012-12-11 19:45:45 +01:00
configure.ac re PR bootstrap/54926 (Bootstrap comparison failure for various files in libbacktrace) 2012-12-11 19:45:45 +01:00
dwarf.c * dwarf.c (read_attribute): Always clear val. 2012-11-20 17:28:05 +00:00
elf.c re PR other/55087 (bogus "linux-vdso.so.1: No such file or directory" caused by libbacktrace) 2012-10-26 20:08:29 +00:00
fileline.c configure.ac: Check for getexecname. 2012-11-12 21:24:19 +00:00
filetype.awk libbacktrace/: 2012-09-17 16:38:38 +00:00
internal.h re PR other/55087 (bogus "linux-vdso.so.1: No such file or directory" caused by libbacktrace) 2012-10-26 20:08:29 +00:00
mmap.c mmap.c (backtrace_vector_release): Correct last patch: add aligned, not size. 2012-10-29 18:42:05 +00:00
mmapio.c mmapio.c: Define MAP_FAILED if not defined. 2012-12-12 13:06:53 +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 re PR other/55087 (bogus "linux-vdso.so.1: No such file or directory" caused by libbacktrace) 2012-10-26 20:08:29 +00:00
print.c configure.ac: Check for getexecname. 2012-11-12 21:24:19 +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.