From cb0520c4d1f91e07c91ea38958e42abc57ddd8f2 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 1 Jun 1994 23:14:45 +0000 Subject: [PATCH] * stabs.texinfo (Statics): Value of xcoff C_BSTAT points to another symbol, it is not the address itself. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/stabs.texinfo | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index ecc2b690fb3..f1d98a91d90 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 1 16:10:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Statics): Value of xcoff C_BSTAT points to + another symbol, it is not the address itself. + Thu May 5 20:23:36 1994 Stan Shebs (shebs@andros.cygnus.com) * stabs.texinfo (Stab Section Basics): Add comment about alignment diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo index 8a8baf3e815..24f7149a108 100644 --- a/gdb/doc/stabs.texinfo +++ b/gdb/doc/stabs.texinfo @@ -965,11 +965,11 @@ In XCOFF files, the stab type need not indicate the section; @code{C_STSYM} can be used for all statics. Also, each static variable is enclosed in a static block. A @code{C_BSTAT} (emitted with a @samp{.bs} assembler directive) symbol begins the static block; its -value is the address of the static block, its section is the section of -the variables in that static block, and its name is @samp{.bs}. A -@code{C_ESTAT} (emitted with a @samp{.es} assembler directive) symbol -ends the static block; its name is @samp{.es} and its value and section -are ignored. +value is the symbol number of the csect symbol whose value is the +address of the static block, its section is the section of the variables +in that static block, and its name is @samp{.bs}. A @code{C_ESTAT} +(emitted with a @samp{.es} assembler directive) symbol ends the static +block; its name is @samp{.es} and its value and section are ignored. In ECOFF files, the storage class is used to specify the section, so the stab type need not indicate the section. -- 2.30.2