gcc/libgfortran
Francois-Xavier Coudert 868d75dbdc gfortran.h (gfc_option_t): Add flag_backtrace field.
* gfortran.h (gfc_option_t): Add flag_backtrace field.
	* lang.opt: Add -fbacktrace option.
	* invoke.texi: Document the new option.
	* trans-decl.c (gfc_build_builtin_function_decls): Add new
	option to the call to set_std.
	* options.c (gfc_init_options, gfc_handle_option): Handle the
	new option.

	* runtime/backtrace.c: New file.
	* runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
	environment variable.
	* runtime/compile_options.c (set_std): Add new argument.
	* runtime/main.c (store_exe_path, full_exe_path): New functions.
	* runtime/error.c (sys_exit): Add call to show_backtrace.
	* libgfortran.h (options_t): New backtrace field.
	(store_exe_path, full_exe_path, show_backtrace): New prototypes.
	* configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
	close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
	and getppid.
	* Makefile.am: Add runtime/backtrace.c.
	* fmain.c (main): Add call to store_exe_path.
	* Makefile.in: Renegerate.
	* config.h.in: Renegerate.
	* configure: Regenerate.

From-SVN: r122954
2007-03-15 12:39:47 +00:00
..
config
generated re PR fortran/30981 ([4.1 only] a ** exp fails for integer exponents if exp is "-huge()-1" (endless loop)) 2007-03-04 08:03:34 +00:00
intrinsics re PR fortran/30947 (intrinsic: ALARM) 2007-03-08 16:46:16 -05:00
io re PR fortran/31051 ([4.2 Only] gfortran bug with x and t format descriptors.) 2007-03-15 01:25:27 +00:00
m4 re PR libfortran/30690 ([4.2, 4.1 only] Clean up m4 files) 2007-03-14 19:26:38 +00:00
runtime gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
acinclude.m4 re PR libfortran/30015 ([4.1 only] Intrinsic date_and_time can go back in time) 2007-01-21 17:16:10 +01:00
aclocal.m4 re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 22:14:48 +00:00
c99_protos.h re PR libfortran/29810 (Unsatisfied symbol "fmodl" in libgfortran shared library) 2006-12-06 21:49:55 +00:00
ChangeLog gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006 Rotate ChangeLog 2007-01-01 19:17:50 +00:00
config.h.in gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
configure gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
configure.ac gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
configure.host
fmain.c gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
libgfortran.h gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
libtool-version re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
Makefile.am gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
Makefile.in gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh