From: Jim Kingdon Date: Sat, 26 Jun 1993 02:39:05 +0000 (+0000) Subject: * stabs.texinfo (Common Blocks): Say what Sun FORTRAN does. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0020f272e41a9ca059065334ccff155308c6212;p=binutils-gdb.git * stabs.texinfo (Common Blocks): Say what Sun FORTRAN does. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 8150bd17117..17892e2a4b7 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +Fri Jun 25 21:34:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Common Blocks): Say what Sun FORTRAN does. + Fri Jun 25 16:15:10 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) * Makefile.in: (REFEDITS) new var to control whether PS or CM diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo index bebf0124582..515ef97ee53 100644 --- a/gdb/doc/stabs.texinfo +++ b/gdb/doc/stabs.texinfo @@ -952,10 +952,12 @@ I believe @sc{fortran} is the only language with this feature. A @code{N_BCOMM} stab begins a common block and an @code{N_ECOMM} stab ends it. The only thing which is significant about these two stabs is their name, which can be used to look up a normal (non-debugging) symbol -which gives the address of the common block. Each variable in the -common block has a @code{N_ECOML} stab, whose value is the offset within -the common block of that variable. I'm not sure what symbol descriptor -is used for the @code{N_ECOML} stabs. +which gives the address of the common block. Then each stab between the +@code{N_BCOMM} and the @code{N_ECOMM} specifies a member of that common +block; its value is the offset within the common block of that variable. +The @code{N_ECOML} stab type is documented for this purpose, but Sun's +@sc{fortran} compiler uses @code{N_GSYM} instead, with the @samp{V} +symbol descriptor. @node Initialized statics @section Initialized static variables