diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-02-02 04:31:24 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-02-02 04:31:24 +0000 |
commit | b7a24051cf6415d9482b7af73375ae5637b7cba1 (patch) | |
tree | 7be74aa4c95475b73ce7336c6b067bf3a242c488 /gdb/doc | |
parent | ead95f8ac2e5fa6fbbedd7e3c548a1915a5e2199 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/stabs.texinfo | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 24d28fd..e5aa67a 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +Wed Feb 1 20:26:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Source Files): Document N_SO used to mark the end + of a source file. + Mon Jan 23 14:23:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com) * gdb.texinfo (Processes): New node. 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 |