OSDN Git Service

PR fortran/31189
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Aug 2007 21:52:22 +0000 (21:52 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Aug 2007 21:52:22 +0000 (21:52 +0000)
commitc7987dcf7ddaf3cf116ada582cbe7efc561b58ef
tree60e7b5dcde1b34e0269164273f272c579b14a633
parentf20cadb15f465728958a37846476c3f52bee44bd
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
gcc/fortran/ChangeLog
gcc/fortran/invoke.texi
libgfortran/ChangeLog
libgfortran/libgfortran.h
libgfortran/runtime/backtrace.c
libgfortran/runtime/compile_options.c