This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] Document more environment variables in gfortran.texi


*ping*

Tobias Burnus wrote:
> Ok for the trunk only (as it is not implemented in 4.2.x)?
>
> 2007-05-21  Tobias Burnus  <burnus@net-b.de>
>
> 	* gfortran.texi: Document the GFORTRAN_ERROR_DUMPCORE and
> 	  GFORTRAN_ERROR_BACKTRACE environment variables.
>
>   
> ------------------------------------------------------------------------
>
> Index: gfortran.texi
> ===================================================================
> --- gfortran.texi	(Revision 124895)
> +++ gfortran.texi	(Arbeitskopie)
> @@ -518,6 +518,8 @@
>  * 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,7 +675,27 @@
>  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{Y}, @samp{0}. Default is not to print a backtrace
> +unless the @option{-fbacktrace} compile option
> +was used.
> +
>  @c =====================================================================
>  @c PART II: LANGUAGE REFERENCE
>  @c =====================================================================
>   


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]