Copy in libbacktrace from gcc
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 12 Aug 2021 09:14:50 +0000 (10:14 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 28 Sep 2021 11:21:21 +0000 (12:21 +0100)
commit63a4b10683992ae6ae2d93711369bc10df8fbce9
tree20dc03cda5cf230928b0e53766f7245baf3ae0e6
parentfbe3443dcfbc9fc47394a171ec7bd5a9f7a7231c
Copy in libbacktrace from gcc

This copies in libbacktrace from the gcc repository as it was in the
commit 62e420293a293608f383d9b9c7f2debd666e9fc9.  GDB is going to
start using this library soon.

A dependency between GDB and libbacktrace has already been added to
the top level Makefile, so, after this commit, when building GDB,
libbacktrace will be built first.  However, libbacktrace is not yet
linked into GDB, or used by GDB in any way.

It is possible to stop libbacktrace being built by configuring the
tree with --disable-libbacktrace.

This commit does NOT update src-release.sh, that will be done in the
next commit, this commit ONLY imports libbacktrace from gcc.  This
means that if you try to make a release of GDB from exactly this
commit then the release tar file will not include libbacktrace.
However, as libbacktrace is an optional dependency this is fine.
48 files changed:
libbacktrace/ChangeLog [new file with mode: 0644]
libbacktrace/ChangeLog.jit [new file with mode: 0644]
libbacktrace/Makefile.am [new file with mode: 0644]
libbacktrace/Makefile.in [new file with mode: 0644]
libbacktrace/README [new file with mode: 0644]
libbacktrace/aclocal.m4 [new file with mode: 0644]
libbacktrace/alloc.c [new file with mode: 0644]
libbacktrace/allocfail.c [new file with mode: 0644]
libbacktrace/allocfail.sh [new file with mode: 0755]
libbacktrace/atomic.c [new file with mode: 0644]
libbacktrace/backtrace-supported.h.in [new file with mode: 0644]
libbacktrace/backtrace.c [new file with mode: 0644]
libbacktrace/backtrace.h [new file with mode: 0644]
libbacktrace/btest.c [new file with mode: 0644]
libbacktrace/config.h.in [new file with mode: 0644]
libbacktrace/configure [new file with mode: 0755]
libbacktrace/configure.ac [new file with mode: 0644]
libbacktrace/dwarf.c [new file with mode: 0644]
libbacktrace/edtest.c [new file with mode: 0644]
libbacktrace/edtest2.c [new file with mode: 0644]
libbacktrace/elf.c [new file with mode: 0644]
libbacktrace/fileline.c [new file with mode: 0644]
libbacktrace/filetype.awk [new file with mode: 0644]
libbacktrace/install-debuginfo-for-buildid.sh.in [new file with mode: 0644]
libbacktrace/instrumented_alloc.c [new file with mode: 0644]
libbacktrace/internal.h [new file with mode: 0644]
libbacktrace/macho.c [new file with mode: 0644]
libbacktrace/mmap.c [new file with mode: 0644]
libbacktrace/mmapio.c [new file with mode: 0644]
libbacktrace/mtest.c [new file with mode: 0644]
libbacktrace/nounwind.c [new file with mode: 0644]
libbacktrace/pecoff.c [new file with mode: 0644]
libbacktrace/posix.c [new file with mode: 0644]
libbacktrace/print.c [new file with mode: 0644]
libbacktrace/read.c [new file with mode: 0644]
libbacktrace/simple.c [new file with mode: 0644]
libbacktrace/sort.c [new file with mode: 0644]
libbacktrace/state.c [new file with mode: 0644]
libbacktrace/stest.c [new file with mode: 0644]
libbacktrace/test_format.c [new file with mode: 0644]
libbacktrace/testlib.c [new file with mode: 0644]
libbacktrace/testlib.h [new file with mode: 0644]
libbacktrace/ttest.c [new file with mode: 0644]
libbacktrace/unittest.c [new file with mode: 0644]
libbacktrace/unknown.c [new file with mode: 0644]
libbacktrace/xcoff.c [new file with mode: 0644]
libbacktrace/xztest.c [new file with mode: 0644]
libbacktrace/ztest.c [new file with mode: 0644]