diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-26 02:39:05 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-26 02:39:05 +0000 |
commit | e0020f272e41a9ca059065334ccff155308c6212 (patch) | |
tree | b82d53cef527a1ceccace5ed68d619109df2f47d /gdb/doc/stabs.texinfo | |
parent | 751b4006af88b86433e91546354983f168d52e5c (diff) | |
download | fsf-binutils-gdb-e0020f272e41a9ca059065334ccff155308c6212.zip fsf-binutils-gdb-e0020f272e41a9ca059065334ccff155308c6212.tar.gz fsf-binutils-gdb-e0020f272e41a9ca059065334ccff155308c6212.tar.bz2 |
* stabs.texinfo (Common Blocks): Say what Sun FORTRAN does.
Diffstat (limited to 'gdb/doc/stabs.texinfo')
-rw-r--r-- | gdb/doc/stabs.texinfo | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo index bebf012..515ef97 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 |