aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-26 03:25:03 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-26 03:25:03 +0000
commit11d1934593e60d030e06995a190ba4a3c3c9caea (patch)
tree34b1e0a5835ae99ad22131ec7b3f6819e271fe8d /gdb/doc
parente0020f272e41a9ca059065334ccff155308c6212 (diff)
downloadgdb-11d1934593e60d030e06995a190ba4a3c3c9caea.zip
gdb-11d1934593e60d030e06995a190ba4a3c3c9caea.tar.gz
gdb-11d1934593e60d030e06995a190ba4a3c3c9caea.tar.bz2
revisions to just-checked-in stuff re common blocks
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/stabs.texinfo7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo
index 515ef97..2c3c1af 100644
--- a/gdb/doc/stabs.texinfo
+++ b/gdb/doc/stabs.texinfo
@@ -956,8 +956,11 @@ 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.
+@sc{fortran} compiler uses @code{N_GSYM} instead. The test case I
+looked at had a common block local to a function and it used the
+@samp{V} symbol descriptor; I assume one would use @samp{S} if not local
+to a function (that is, if a common block @emph{can} be anything other
+than local to a function).
@node Initialized statics
@section Initialized static variables