mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
* stabs.texinfo: Add notes about stabs-in-som where appropriate.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Sun Dec 26 20:46:36 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* stabs.texinfo: Add notes about stabs-in-som where appropriate.
|
||||||
|
|
||||||
Fri Dec 3 19:13:19 1993 John Gilmore (gnu@cygnus.com)
|
Fri Dec 3 19:13:19 1993 John Gilmore (gnu@cygnus.com)
|
||||||
|
|
||||||
* gdbint.texinfo: Fix a few typos.
|
* gdbint.texinfo: Fix a few typos.
|
||||||
|
@ -475,8 +475,9 @@ file. @code{C_BINCL} and @code{C_EINCL} do not nest.
|
|||||||
An @code{N_SLINE} symbol represents the start of a source line. The
|
An @code{N_SLINE} symbol represents the start of a source line. The
|
||||||
desc field contains the line number and the value
|
desc field contains the line number and the value
|
||||||
contains the code address for the start of that source line. On most
|
contains the code address for the start of that source line. On most
|
||||||
machines the address is absolute; for Sun's stabs-in-ELF, it is relative
|
machines the address is absolute; for Sun's stabs-in-ELF and GNU's
|
||||||
to the function in which the @code{N_SLINE} symbol occurs.
|
stabs-in-SOM, it is relative to the function in which the @code{N_SLINE}
|
||||||
|
symbol occurs.
|
||||||
|
|
||||||
@findex N_DSLINE
|
@findex N_DSLINE
|
||||||
@findex N_BSLINE
|
@findex N_BSLINE
|
||||||
@ -649,8 +650,8 @@ RISC machine, and Sun @code{acc} compilers, put the variables after the
|
|||||||
@code{N_RBRAC} symbols are the start and end addresses of the code of
|
@code{N_RBRAC} symbols are the start and end addresses of the code of
|
||||||
the block, respectively. For most machines, they are relative to the
|
the block, respectively. For most machines, they are relative to the
|
||||||
starting address of this source file. For the Gould NP1, they are
|
starting address of this source file. For the Gould NP1, they are
|
||||||
absolute. For Sun's stabs-in-ELF, they are relative to the function in
|
absolute. For Sun's stabs-in-ELF and GNU's stabs-in-SOM, they are relative
|
||||||
which they occur.
|
to the function in which they occur.
|
||||||
|
|
||||||
The @code{N_LBRAC} and @code{N_RBRAC} stabs that describe the block
|
The @code{N_LBRAC} and @code{N_RBRAC} stabs that describe the block
|
||||||
scope of a procedure are located after the @code{N_FUN} stab that
|
scope of a procedure are located after the @code{N_FUN} stab that
|
||||||
@ -2187,10 +2188,10 @@ entry now holds an absolute address:
|
|||||||
0000e008 D _g_foo
|
0000e008 D _g_foo
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@node ELF Transformations
|
@node ELF and SOM Transformations
|
||||||
@subsection Transformations of Stabs in ELF Files
|
@subsection Transformations of Stabs in ELF and SOM Files
|
||||||
|
|
||||||
For ELF files, use @code{objdump --stabs} instead of @code{nm} to show
|
For ELF and SOM files, use @code{objdump --stabs} instead of @code{nm} to show
|
||||||
the stabs in an object or executable file. @code{objdump} is a GNU
|
the stabs in an object or executable file. @code{objdump} is a GNU
|
||||||
utility; Sun does not provide any equivalent.
|
utility; Sun does not provide any equivalent.
|
||||||
|
|
||||||
@ -2936,8 +2937,8 @@ description in the class stab shows this ordering.
|
|||||||
|
|
||||||
The following are all the possible values for the stab type field, for
|
The following are all the possible values for the stab type field, for
|
||||||
@code{a.out} files, in numeric order. This does not apply to XCOFF, but
|
@code{a.out} files, in numeric order. This does not apply to XCOFF, but
|
||||||
it does apply to stabs in ELF. Stabs in ECOFF use these values but add
|
it does apply to stabs in ELF and stabs in SOM. Stabs in ECOFF use these
|
||||||
0x8f300 to distinguish them from non-stab symbols.
|
values but add 0x8f300 to distinguish them from non-stab symbols.
|
||||||
|
|
||||||
The symbolic names are defined in the file @file{include/aout/stabs.def}.
|
The symbolic names are defined in the file @file{include/aout/stabs.def}.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user