From 274d73fab09a191522b7eff3203d452bbf84e2a3 Mon Sep 17 00:00:00 2001 From: burnus Date: Sat, 26 May 2007 13:29:29 +0000 Subject: [PATCH] 2007-05-26 Tobias Burnus * gfortran.texi: Document the GFORTRAN_ERROR_DUMPCORE and GFORTRAN_ERROR_BACKTRACE environment variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125091 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/gfortran.texi | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 0d4a8773e5c..2843e99ffd3 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2007-05-26 Tobias Burnus + + * gfortran.texi: Document the GFORTRAN_ERROR_DUMPCORE and + GFORTRAN_ERROR_BACKTRACE environment variables. + 2007-05-26 Paul Thomas PR fortran/31219 diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 6b604afe462..b0165c81bd0 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -518,6 +518,8 @@ Malformed environment variables are silently ignored. * GFORTRAN_DEFAULT_RECL:: Default record length for new files * GFORTRAN_LIST_SEPARATOR:: Separator for list output * GFORTRAN_CONVERT_UNIT:: Set endianness for unformatted I/O +* GFORTRAN_ERROR_DUMPCORE:: Dump core on run-time errors +* GFORTRAN_ERROR_BACKTRACE:: Show backtrace on run-time errors @end menu @node GFORTRAN_STDIN_UNIT @@ -673,6 +675,26 @@ environment variable will override the CONVERT specifier in the open statement}. This is to give control over data formats to users who do not have the source code of their program available. +@node GFORTRAN_ERROR_DUMPCORE +@section @env{GFORTRAN_ERROR_DUMPCORE}---Dump core on run-time errors + +If the @env{GFORTRAN_ERROR_DUMPCORE} variable is set to +@samp{y}, @samp{Y} or @samp{1} (only the first letter is relevant) +then library run-time errors cause core dumps. To disable the core +dumps, set the variable to @samp{n}, @samp{N}, @samp{0}. Default +is not to core dump unless the @option{-fdump-core} compile option +was used. + +@node GFORTRAN_ERROR_BACKTRACE +@section @env{GFORTRAN_ERROR_BACKTRACE}---Show backtrace on run-time errors + +If the @env{GFORTRAN_ERROR_BACKTRACE} variable is set to +@samp{y}, @samp{Y} or @samp{1} (only the first letter is relevant) +then a backtrace is printed when a run-time error occurs. +To disable the backtracing, set the variable to +@samp{n}, @samp{N}, @samp{0}. Default is not to print a backtrace +unless the @option{-fbacktrace} compile option +was used. @c ===================================================================== @c PART II: LANGUAGE REFERENCE -- 2.11.4.GIT