re PR libfortran/54572 (Use libbacktrace library)
PR libfortran/54572 * Makefile.def: Make libgfortran depend on libbacktrace. * Makefile.in: Regenerate. * config-lang.in: Add libbacktrace to target_libs. * Makefile.am (libgfortran_la_LDFLAGS): Link in libbacktrace. (AM_CPPFLAGS): Add libbacktrace directories to include paths. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Remove checks for strtok_r, wait, execve, pipe, and dup2. Remove call to GCC_CHECK_UNWIND_GETIPINFO. * libgfortran.h (full_exe_path, find_addr2line, backtrace): Remove prototypes. (show_backtrace): Add prototype. * runtime/backtrace.c: Rework file entirely. * runtime/compile_options.c (backtrace_handler): Rename backtrace to show_backtrace. (maybe_find_addr2line): Remove function. (set_options): Remove call to maybe_find_addr2line. * runtime/error.c (sys_abort): Rename backtrace to show_backtrace. * runtime/main.c (store_exe_path): Empty function body. (full_exe_path, gfstrtok_r, find_addr2line): Remove functions. (cleanup): Don't free removed variables. * runtime/minimal.c (full_exe_path): Remove function. (set_args): Don't set exe_path. * gfortran.dg/backtrace_1.f90: New test. From-SVN: r227106
Showing
- ChangeLog 6 additions, 0 deletionsChangeLog
- Makefile.def 1 addition, 0 deletionsMakefile.def
- Makefile.in 1 addition, 0 deletionsMakefile.in
- gcc/fortran/ChangeLog 5 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/config-lang.in 1 addition, 1 deletiongcc/fortran/config-lang.in
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/backtrace_1.f90 10 additions, 0 deletionsgcc/testsuite/gfortran.dg/backtrace_1.f90
- libgfortran/ChangeLog 26 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/Makefile.am 6 additions, 2 deletionslibgfortran/Makefile.am
- libgfortran/Makefile.in 6 additions, 3 deletionslibgfortran/Makefile.in
- libgfortran/aclocal.m4 0 additions, 1 deletionlibgfortran/aclocal.m4
- libgfortran/config.h.in 0 additions, 18 deletionslibgfortran/config.h.in
- libgfortran/configure 2 additions, 60 deletionslibgfortran/configure
- libgfortran/configure.ac 2 additions, 6 deletionslibgfortran/configure.ac
- libgfortran/libgfortran.h 3 additions, 8 deletionslibgfortran/libgfortran.h
- libgfortran/runtime/backtrace.c 85 additions, 212 deletionslibgfortran/runtime/backtrace.c
- libgfortran/runtime/compile_options.c 2 additions, 14 deletionslibgfortran/runtime/compile_options.c
- libgfortran/runtime/error.c 1 addition, 1 deletionlibgfortran/runtime/error.c
- libgfortran/runtime/main.c 4 additions, 162 deletionslibgfortran/runtime/main.c
- libgfortran/runtime/minimal.c 0 additions, 11 deletionslibgfortran/runtime/minimal.c
Loading
Please register or sign in to comment