]> git.ipfire.org Git - thirdparty/gcc.git/commit - libbacktrace/elf.c
* elf.c (backtrace_initialize): Always set *fileline_fn.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jun 2017 03:25:04 +0000 (03:25 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jun 2017 03:25:04 +0000 (03:25 +0000)
commit3be33b09fb8ae2d5eca4b8ca213844d2e25c62fc
tree9b4b2fbd658631dc5cb019d57ba0843423218b4b
parent4c8a1216caf919c1452a3d7e7c8571c7063ce44a
* elf.c (backtrace_initialize): Always set *fileline_fn.
* ttest.c: New file.
* btest.c: Move support functions into testlib.c.  Change calls to
check to pass file name.
* testlib.c: New file, copied from (part of) btest.c.
* testlib.h: New file, declarations for testlib.c.
* edtest.c: Use testlib.h and testlib.c.
* configure.ac: Test for -pthread, set HAVE_PTHREAD conditional.
* Makefile.am (btest_SOURCES): Add testlib.c.
(edtest_SOURCES): Likewise.
(CHECK_PROGRAMS): Add ttest if HAVE_PTHREAD.
(ttest_SOURCES, ttest_CFLAGS, ttest_LDADD): Define.
* configure, Makefile.in: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249111 138bc75d-0d04-0410-961f-82ee72b054a4
libbacktrace/ChangeLog
libbacktrace/Makefile.am
libbacktrace/Makefile.in
libbacktrace/btest.c
libbacktrace/configure
libbacktrace/configure.ac
libbacktrace/edtest.c
libbacktrace/elf.c
libbacktrace/testlib.c [new file with mode: 0644]
libbacktrace/testlib.h [new file with mode: 0644]
libbacktrace/ttest.c [new file with mode: 0644]