diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-11 21:52:22 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-11 21:52:22 +0000 |
commit | c7987dcf7ddaf3cf116ada582cbe7efc561b58ef (patch) | |
tree | 60e7b5dcde1b34e0269164273f272c579b14a633 /libgfortran/libgfortran.h | |
parent | f20cadb15f465728958a37846476c3f52bee44bd (diff) | |
download | gcc-c7987dcf7ddaf3cf116ada582cbe7efc561b58ef.tar.gz |
PR fortran/31189
* runtime/backtrace.c (show_backtrace): Skip _gfortrani_handler
when displaying backtrace.
* runtime/compile_options.c: Include <signal.h>.
(handler): New function.
(set_options): Set signal handlers for backtrace.
* libgfortran.h (handler): Add prototype.
* invoke.texi (-fbacktrace): Document the new behaviour.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127364 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index 6013ce68618..06718013cc8 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -373,6 +373,9 @@ options_t; extern options_t options; internal_proto(options); +extern void handler (int); +internal_proto(handler); + /* Compile-time options that will influence the library. */ |