gcc/libgfortran/io
Francois-Xavier Coudert eedeea04da re PR libfortran/29649 (Force core dump on runtime library errors)
2007-01-18  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
            Tobias Burnus  <burnus@net-b.de>

       PR libfortran/29649
       * gfortran.h (gfc_option_t): Add flag_dump_core.
       * lang.opt: Add -fdump-core option.
       * invoke.texi: Document the new options.
       * trans-decl.c (gfc_build_builtin_function_decls): Add new
         options to the call to set_std.
       * options.c (gfc_init_options, gfc_handle_option): Set the
         new options.

2007-01-18  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
            Tobias Burnus  <burnus@net-b.de>

       PR libfortran/29649
       * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
         environment variable.
       * runtime/compile_options.c (set_std): Add new argument.
       * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump functionality.
       * libgfortran.h (options_t): New dump_core and backtrace members.
         (sys_exit): Move prototype.
       * io/unix.c (sys_exit): Move to runtime/error.c.
       * configure.ac: Add check for getrlimit.
       * configure: Regenerate.


Co-Authored-By: Tobias Burnus <burnus@net-b.de>

From-SVN: r120897
2007-01-18 13:54:11 +01:00
..
close.c
file_pos.c re PR libfortran/29568 (implement unformatted files with subrecords (Intel style)) 2006-12-01 21:04:38 +00:00
format.c
inquire.c re PR fortran/29053 (Consecutive STREAM I/O file positions mixed up) 2006-09-15 13:16:15 +00:00
intrinsics.c re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
io.h re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
list_read.c re PR fortran/30435 (Slash at end of input not recognized according to standard) 2007-01-12 23:10:27 +00:00
lock.c
open.c re PR libfortran/30005 (Open errors (not/already exists etc.): show also the file name) 2006-12-05 00:51:26 +00:00
read.c 2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org> 2006-11-09 03:57:44 +00:00
size_from_kind.c
transfer.c re PR libfortran/30014 (INQUIRE (iolength = xx) limited to kind=4) 2006-12-28 01:40:23 +00:00
unit.c re PR fortran/29563 (Internal read loses data.) 2006-10-26 04:35:45 +00:00
unix.c re PR libfortran/29649 (Force core dump on runtime library errors) 2007-01-18 13:54:11 +01:00
write.c re PR fortran/29277 (Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms) 2006-10-18 23:13:33 +00:00