Skip to content
Snippets Groups Projects
  • Ian Lance Taylor's avatar
    d1609a23
    elf.c (backtrace_initialize): Always set *fileline_fn. · d1609a23
    Ian Lance Taylor authored
    	* 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.
    
    From-SVN: r249111
    d1609a23
    History
    elf.c (backtrace_initialize): Always set *fileline_fn.
    Ian Lance Taylor authored
    	* 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.
    
    From-SVN: r249111