[patch,fortran] Add -fdump-core option to coredump at library run-time errors (PR29649)
Tobias Burnus
burnus@net-b.de
Sat Jan 6 10:21:00 GMT 2007
FX Coudert schrieb:
>> 2006-11-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
>> Tobias Burnus <burnus@net-b.de>
>>
>> PR fortran/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.
>>
>>
>> fortran/
>> 2006-11-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
>> Tobias Burnus <burnus@net-b.de>
>>
>> PR fortran/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.
>>
>
> I believe you forgot the patch itself :)
Good point!
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core-dump.diff
Type: text/x-patch
Size: 9803 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070106/958632b6/attachment.bin>
More information about the Gcc-patches
mailing list