diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2011-11-09 18:04:42 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2011-11-09 18:04:42 +0200 |
commit | 1ff101ff12c5e573740d0b8cb24ebfa416193f59 (patch) | |
tree | b0dcabb54361e5e3a6242e307bb50ceb26cba8ef /libgfortran/config.h.in | |
parent | 560bb0136fa74c8562d7e078eef29d3d1f7b6fc5 (diff) | |
download | gcc-1ff101ff12c5e573740d0b8cb24ebfa416193f59.tar.gz |
PR 46686 Implement backtrace with _Unwind_Backtrace from libgcc.
2011-11-09 Janne Blomqvist <jb@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.
From-SVN: r181209
Diffstat (limited to 'libgfortran/config.h.in')
-rw-r--r-- | libgfortran/config.h.in | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in index 708ec7cd02d..66d80665d99 100644 --- a/libgfortran/config.h.in +++ b/libgfortran/config.h.in @@ -81,12 +81,6 @@ /* Define to 1 if the target supports __attribute__((visibility(...))). */ #undef HAVE_ATTRIBUTE_VISIBILITY -/* Define to 1 if you have the `backtrace' function. */ -#undef HAVE_BACKTRACE - -/* Define to 1 if you have the `backtrace_symbols_fd' function. */ -#undef HAVE_BACKTRACE_SYMBOLS_FD - /* Define if powf is broken. */ #undef HAVE_BROKEN_POWF @@ -348,14 +342,11 @@ /* libm includes erfl */ #undef HAVE_ERFL -/* Define to 1 if you have the <execinfo.h> header file. */ -#undef HAVE_EXECINFO_H - /* Define to 1 if you have the `execl' function. */ #undef HAVE_EXECL -/* Define to 1 if you have the `execvp' function. */ -#undef HAVE_EXECVP +/* Define to 1 if you have the `execve' function. */ +#undef HAVE_EXECVE /* libm includes exp */ #undef HAVE_EXP @@ -453,6 +444,9 @@ /* Define to 1 if you have the `gethostname' function. */ #undef HAVE_GETHOSTNAME +/* Define if _Unwind_GetIPInfo is available. */ +#undef HAVE_GETIPINFO + /* Define to 1 if you have the `getlogin' function. */ #undef HAVE_GETLOGIN |