aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-26 02:39:05 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-26 02:39:05 +0000
commite0020f272e41a9ca059065334ccff155308c6212 (patch)
treeb82d53cef527a1ceccace5ed68d619109df2f47d /gdb
parent751b4006af88b86433e91546354983f168d52e5c (diff)
downloadgdb-e0020f272e41a9ca059065334ccff155308c6212.zip
gdb-e0020f272e41a9ca059065334ccff155308c6212.tar.gz
gdb-e0020f272e41a9ca059065334ccff155308c6212.tar.bz2
* stabs.texinfo (Common Blocks): Say what Sun FORTRAN does.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/stabs.texinfo10
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 8150bd1..17892e2 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 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