aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-06-18 19:24:44 +0000
committerFred Fish <fnf@specifix.com>1993-06-18 19:24:44 +0000
commit5e27ed65e29e81077a1a2559b1ef59a46932885b (patch)
tree8036b97593f71e39213c8ba6299d9db231d3bbbf /gdb/doc
parentcc4fb84844bdb1a0a1c4aa5a8fa770442b7477ce (diff)
downloadgdb-5e27ed65e29e81077a1a2559b1ef59a46932885b.zip
gdb-5e27ed65e29e81077a1a2559b1ef59a46932885b.tar.gz
gdb-5e27ed65e29e81077a1a2559b1ef59a46932885b.tar.bz2
Add note about endianess of the stabs-in-elf stabs binary data.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/stabs.texinfo4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo
index 2995ac1..93a251a 100644
--- a/gdb/doc/stabs.texinfo
+++ b/gdb/doc/stabs.texinfo
@@ -3863,7 +3863,9 @@ sections containing any arbitrary data. To use stabs in ELF object files,
the tools create two custom sections, a ".stab" section which contains
an array of fixed length structures, one struct per stab, and a ".stabstr"
section containing all the variable length strings that are referenced by
-stabs in the ".stab" section.
+stabs in the ".stab" section. The byte order of the stabs binary data
+matches the byte order of the ELF file itself, as determined from the
+EI_DATA field in the e_ident member of the ELF header.
The first stab in the ".stab" section for each object file is a "synthetic
stab", generated entirely by the assembler, with no corresponding ".stab"