diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-12-05 12:36:48 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-12-05 07:36:48 -0500 |
commit | 5f98259ade3fbc7d315a168294e7f8751ac3bd04 (patch) | |
tree | 196ac20d7a6c33f8318e4f2a28b07583cecf907c /gcc/doc | |
parent | 33afb1b72b8399bd65973453965690275d7ac0a9 (diff) | |
download | gcc-5f98259ade3fbc7d315a168294e7f8751ac3bd04.zip gcc-5f98259ade3fbc7d315a168294e7f8751ac3bd04.tar.gz gcc-5f98259ade3fbc7d315a168294e7f8751ac3bd04.tar.bz2 |
vmsdbg.h, [...]: Add documentation and minor cleanups.
* vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
* doc/invoke.texi: Add -gvms.
* doc/passes.texi: Add mention of vmsdbgout.c.
* doc/tm.texi: Document VMS debugging output.
Co-Authored-By: Douglas B Rupp <rupp@gnat.com>
From-SVN: r47668
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 12 | ||||
-rw-r--r-- | gcc/doc/passes.texi | 5 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 26 |
3 files changed, 35 insertions, 8 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index f1e3ce4..0bb76df 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -248,7 +248,7 @@ in the following sections. -fmem-report -fpretend-float @gol -fprofile-arcs -ftest-coverage -ftime-report @gol -g -g@var{level} -gcoff -gdwarf -gdwarf-1 -gdwarf-1+ -gdwarf-2 @gol --ggdb -gstabs -gstabs+ -gxcoff -gxcoff+ @gol +-ggdb -gstabs -gstabs+ -gvms -gxcoff -gxcoff+ @gol -p -pg -print-file-name=@var{library} -print-libgcc-file-name @gol -print-multi-directory -print-multi-lib @gol -print-prog-name=@var{program} -print-search-dirs -Q @gol @@ -2608,8 +2608,8 @@ makes debugging work better in GDB but will probably make other debuggers crash or refuse to read the program. If you want to control for certain whether to generate the extra information, use @option{-gstabs+}, @option{-gstabs}, -@option{-gxcoff+}, @option{-gxcoff}, @option{-gdwarf-1+}, or @option{-gdwarf-1} -(see below). +@option{-gxcoff+}, @option{-gxcoff}, @option{-gdwarf-1+}, @option{-gdwarf-1}, +or @option{-gvms} (see below). Unlike most other C compilers, GCC allows you to use @option{-g} with @option{-O}. The shortcuts taken by optimized code may occasionally @@ -2684,6 +2684,11 @@ crash or refuse to read the program. Produce debugging information in DWARF version 2 format (if that is supported). This is the format used by DBX on IRIX 6. +@item -gvms +@opindex gvms +Produce debugging information in VMS debug format (if that is +supported). This is the format used by DEBUG on VMS systems. + @item -g@var{level} @itemx -ggdb@var{level} @itemx -gstabs@var{level} @@ -2691,6 +2696,7 @@ supported). This is the format used by DBX on IRIX 6. @itemx -gxcoff@var{level} @itemx -gdwarf@var{level} @itemx -gdwarf-2@var{level} +@itemx -gvms@var{level} Request debugging information and also use @var{level} to specify how much information. The default level is 2. diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi index 4b5c7d7..7717341 100644 --- a/gcc/doc/passes.texi +++ b/gcc/doc/passes.texi @@ -600,8 +600,9 @@ Debugging information output. This is run after final because it must output the stack slot offsets for pseudo registers that did not get hard registers. Source files are @file{dbxout.c} for DBX symbol table format, @file{sdbout.c} for SDB symbol table format, @file{dwarfout.c} -for DWARF symbol table format, and the files @file{dwarf2out.c} and -@file{dwarf2asm.c} for DWARF2 symbol table format. +for DWARF symbol table format, files @file{dwarf2out.c} and +@file{dwarf2asm.c} for DWARF2 symbol table format, and @file{vmsdbgout.c} +for VMS debug symbol table format. @end itemize Some additional files are used by all or many passes: diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index ad26c8a..4c3da22 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -7367,6 +7367,7 @@ This describes how to specify debugging information. * DBX Hooks:: Hook macros for varying DBX format. * File Names and DBX:: Macros controlling output of file names in DBX format. * SDB and DWARF:: Macros for SDB (COFF) and DWARF formats. +* VMS Debug:: Macros for VMS debug format. @end menu @node All Debuggers @@ -7417,8 +7418,8 @@ A C expression that returns the type of debugging output GCC should produce when the user specifies just @option{-g}. Define this if you have arranged for GCC to support more than one format of debugging output. Currently, the allowable values are @code{DBX_DEBUG}, -@code{SDB_DEBUG}, @code{DWARF_DEBUG}, @code{DWARF2_DEBUG}, and -@code{XCOFF_DEBUG}. +@code{SDB_DEBUG}, @code{DWARF_DEBUG}, @code{DWARF2_DEBUG}, +@code{XCOFF_DEBUG}, @code{VMS_DEBUG}, and @code{VMS_AND_DWARF2_DEBUG}. When the user specifies @option{-ggdb}, GCC normally also uses the value of this macro to select the debugging output format, but with two @@ -7429,7 +7430,8 @@ defined, GCC uses @code{DBX_DEBUG}. The value of this macro only affects the default debugging output; the user can always get a specific type of output by using @option{-gstabs}, -@option{-gcoff}, @option{-gdwarf-1}, @option{-gdwarf-2}, or @option{-gxcoff}. +@option{-gcoff}, @option{-gdwarf-1}, @option{-gdwarf-2}, @option{-gxcoff}, +or @option{-gvms}. @end table @node DBX Options @@ -7819,6 +7821,24 @@ enumeration tags that have not yet been seen to be handled. Some assemblers choke if forward tags are used, while some require it. @end table +@need 2000 +@node VMS Debug +@subsection Macros for VMS Debug Format + +@c prevent bad page break with this line +Here are macros for VMS debug format. + +@table @code +@findex VMS_DEBUGGING_INFO +@item VMS_DEBUGGING_INFO +Define this macro if GCC should produce debugging output for VMS +in response to the @option{-g} option. The default behavior for VMS +is to generate minimal debug info for a traceback in the absence of +@option{-g} unless explicitly overridden with @option{-g0}. This +behavior is controlled by @code{OPTIMIZATION_OPTIONS} and +@code{OVERRIDE_OPTIONS}. +@end table + @node Cross-compilation @section Cross Compilation and Floating Point @cindex cross compilation and floating point |