aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/stabs.texinfo
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-02-02 04:31:24 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-02-02 04:31:24 +0000
commitb7a24051cf6415d9482b7af73375ae5637b7cba1 (patch)
tree7be74aa4c95475b73ce7336c6b067bf3a242c488 /gdb/doc/stabs.texinfo
parentead95f8ac2e5fa6fbbedd7e3c548a1915a5e2199 (diff)
downloadgdb-b7a24051cf6415d9482b7af73375ae5637b7cba1.zip
gdb-b7a24051cf6415d9482b7af73375ae5637b7cba1.tar.gz
gdb-b7a24051cf6415d9482b7af73375ae5637b7cba1.tar.bz2
* stabs.texinfo (Source Files): Document N_SO used to mark the end
of a source file.
Diffstat (limited to 'gdb/doc/stabs.texinfo')
-rw-r--r--gdb/doc/stabs.texinfo9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo
index 24f7149..62e13a7 100644
--- a/gdb/doc/stabs.texinfo
+++ b/gdb/doc/stabs.texinfo
@@ -435,6 +435,15 @@ Instead of @code{N_SO} symbols, XCOFF uses a @code{.file} assembler
directive which assembles to a standard COFF @code{.file} symbol;
explaining this in detail is outside the scope of this document.
+@c FIXME: Exactly when should the empty N_SO be used? Why?
+If it is useful to indicate the end of a source file, this is done with
+an @code{N_SO} symbol with an empty string for the name. The value is
+the address of the end of the text section for the file. For some
+systems, there is no indication of the end of a source file, and you
+just need to figure it ended when you see an @code{N_SO} for a different
+source file, or a symbol ending in @code{.o} (which at least some
+linkers insert to mark the start of a new @code{.o} file).
+
@node Include Files
@section Names of Include Files