http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46686

--- Comment #4 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-11-09 16:04:47 
UTC ---
Author: jb
Date: Wed Nov  9 16:04:42 2011
New Revision: 181209

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181209
Log:
PR 46686 Implement backtrace with _Unwind_Backtrace from libgcc.

2011-11-09  Janne Blomqvist  <j...@gcc.gnu.org>

    PR fortran/46686
    * configure.ac: Don't check execinfo.h, backtrace,
    backtrace_symbols_fd. Check execve instead of execvp. Call
    GCC_CHECK_UNWIND_GETIPINFO.
    * runtime/backtrace.c: Don't include unused headers, include
    limits.h and unwind.h.
    (CAN_FORK): Check execve instead of execvp.
    (GLIBC_BACKTRACE): Remove.
    (bt_header): Conform to gdb backtrace format.
    (struct bt_state): New struct.
    (trace_function): New function.
    (show_backtrace): Use _Unwind_Backtrace from libgcc instead of
    glibc backtrace functions.
    * Makefile.in: Regenerated.
    * aclocal.m4: Regenerated.
    * config.h.in: Regenerated.
    * configure: Regenerated.


Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/Makefile.in
    trunk/libgfortran/aclocal.m4
    trunk/libgfortran/config.h.in
    trunk/libgfortran/configure
    trunk/libgfortran/configure.ac
    trunk/libgfortran/runtime/backtrace.c

Reply via email to