gcc/libgfortran/runtime
Francois-Xavier Coudert 2b840e5067 re PR fortran/31189 (Support backtracing for non-library errors)
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.

Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org>

From-SVN: r127364
2007-08-11 21:52:22 +00:00
..
backtrace.c re PR fortran/31189 (Support backtracing for non-library errors) 2007-08-11 21:52:22 +00:00
compile_options.c re PR fortran/31189 (Support backtracing for non-library errors) 2007-08-11 21:52:22 +00:00
environ.c re PR fortran/31917 ([4.1 only] GFORTRAN_CONVERT_UNIT is ignored) 2007-05-17 10:39:32 +02:00
error.c re PR fortran/31270 (print subscript value and array bounds when out-of-bounds error occurs) 2007-08-10 22:12:04 +00:00
fpu.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
in_pack_generic.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
in_unpack_generic.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
main.c re PR libfortran/32858 (printf-capabilities for runtime_error()) 2007-07-29 20:01:45 +00:00
memory.c Fortran frontend: 2007-07-03 19:50:05 +03:00
pause.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
select.c re PR fortran/32035 ('<anonymous>' may be used uninitialized in this function) 2007-07-27 14:26:43 +00:00
stop.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
string.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00