OLD | NEW |
1 This is stabs.info, produced by makeinfo version 4.8 from | 1 This is stabs.info, produced by makeinfo version 4.8 from |
2 ./stabs.texinfo. | 2 ./stabs.texinfo. |
3 | 3 |
4 INFO-DIR-SECTION Software development | 4 INFO-DIR-SECTION Software development |
5 START-INFO-DIR-ENTRY | 5 START-INFO-DIR-ENTRY |
6 * Stabs: (stabs). The "stabs" debugging information format. | 6 * Stabs: (stabs). The "stabs" debugging information format. |
7 END-INFO-DIR-ENTRY | 7 END-INFO-DIR-ENTRY |
8 | 8 |
9 Copyright (C) 1992-1995, 1997-1998, 2000-2007, 2009-2012 Free | 9 Copyright (C) 1992-1995, 1997-1998, 2000-2007, 2009-2012 Free |
10 Software Foundation, Inc. Contributed by Cygnus Support. Written by | 10 Software Foundation, Inc. Contributed by Cygnus Support. Written by |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 * Macro define and undefine:: Representation of #define and #undef | 48 * Macro define and undefine:: Representation of #define and #undef |
49 * Symbol Tables:: Symbol information in symbol tables | 49 * Symbol Tables:: Symbol information in symbol tables |
50 * Cplusplus:: Stabs specific to C++ | 50 * Cplusplus:: Stabs specific to C++ |
51 * Stab Types:: Symbol types in a.out files | 51 * Stab Types:: Symbol types in a.out files |
52 * Symbol Descriptors:: Table of symbol descriptors | 52 * Symbol Descriptors:: Table of symbol descriptors |
53 * Type Descriptors:: Table of type descriptors | 53 * Type Descriptors:: Table of type descriptors |
54 * Expanded Reference:: Reference information by stab type | 54 * Expanded Reference:: Reference information by stab type |
55 * Questions:: Questions and anomalies | 55 * Questions:: Questions and anomalies |
56 * Stab Sections:: In some object file formats, stabs are | 56 * Stab Sections:: In some object file formats, stabs are |
57 in sections. | 57 in sections. |
| 58 * GNU Free Documentation License:: The license for this documentation |
58 * Symbol Types Index:: Index of symbolic stab symbol type names. | 59 * Symbol Types Index:: Index of symbolic stab symbol type names. |
59 * GNU Free Documentation License:: The license for this documentation | |
60 | 60 |
61 | 61 |
62 File: stabs.info, Node: Overview, Next: Program Structure, Prev: Top, Up: To
p | 62 File: stabs.info, Node: Overview, Next: Program Structure, Prev: Top, Up: To
p |
63 | 63 |
64 1 Overview of Stabs | 64 1 Overview of Stabs |
65 ******************* | 65 ******************* |
66 | 66 |
67 "Stabs" refers to a format for information that describes a program to | 67 "Stabs" refers to a format for information that describes a program to |
68 a debugger. This format was apparently invented by Peter Kessler at | 68 a debugger. This format was apparently invented by Peter Kessler at |
69 the University of California at Berkeley, for the `pdx' Pascal | 69 the University of California at Berkeley, for the `pdx' Pascal |
(...skipping 3696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3766 is exactly the same as types defined in the source file between | 3766 is exactly the same as types defined in the source file between |
3767 the two procedure bodies. GDB over-compensates by placing all | 3767 the two procedure bodies. GDB over-compensates by placing all |
3768 types in block #1, the block for symbols of file scope. This is | 3768 types in block #1, the block for symbols of file scope. This is |
3769 true for default, `-ansi' and `-traditional' compiler options. | 3769 true for default, `-ansi' and `-traditional' compiler options. |
3770 (Bugs gcc/1063, gdb/1066.) | 3770 (Bugs gcc/1063, gdb/1066.) |
3771 | 3771 |
3772 * What ends the procedure scope? Is it the proc block's `N_RBRAC' | 3772 * What ends the procedure scope? Is it the proc block's `N_RBRAC' |
3773 or the next `N_FUN'? (I believe its the first.) | 3773 or the next `N_FUN'? (I believe its the first.) |
3774 | 3774 |
3775 | 3775 |
3776 File: stabs.info, Node: Stab Sections, Next: Symbol Types Index, Prev: Questi
ons, Up: Top | 3776 File: stabs.info, Node: Stab Sections, Next: GNU Free Documentation License,
Prev: Questions, Up: Top |
3777 | 3777 |
3778 Appendix F Using Stabs in Their Own Sections | 3778 Appendix F Using Stabs in Their Own Sections |
3779 ******************************************** | 3779 ******************************************** |
3780 | 3780 |
3781 Many object file formats allow tools to create object files with custom | 3781 Many object file formats allow tools to create object files with custom |
3782 sections containing any arbitrary data. For any such object file | 3782 sections containing any arbitrary data. For any such object file |
3783 format, stabs can be embedded in special sections. This is how stabs | 3783 format, stabs can be embedded in special sections. This is how stabs |
3784 are used with ELF and SOM, and aside from ECOFF and XCOFF, is how stabs | 3784 are used with ELF and SOM, and aside from ECOFF and XCOFF, is how stabs |
3785 are used with COFF. | 3785 are used with COFF. |
3786 | 3786 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3912 named `main.c'). This loses if different files have the same name | 3912 named `main.c'). This loses if different files have the same name |
3913 (they could be in different directories, a library could have been | 3913 (they could be in different directories, a library could have been |
3914 copied from one system to another, etc.). It would be much cleaner to | 3914 copied from one system to another, etc.). It would be much cleaner to |
3915 have the `Bbss.bss' symbols in the stabs themselves. Having the linker | 3915 have the `Bbss.bss' symbols in the stabs themselves. Having the linker |
3916 relocate them there is no more work than having the linker relocate ELF | 3916 relocate them there is no more work than having the linker relocate ELF |
3917 symbols, and it solves the problem of having to associate the ELF and | 3917 symbols, and it solves the problem of having to associate the ELF and |
3918 stab symbols. However, no one has yet designed or implemented such a | 3918 stab symbols. However, no one has yet designed or implemented such a |
3919 scheme. | 3919 scheme. |
3920 | 3920 |
3921 | 3921 |
3922 File: stabs.info, Node: GNU Free Documentation License, Prev: Symbol Types Ind
ex, Up: Top | 3922 File: stabs.info, Node: GNU Free Documentation License, Next: Symbol Types Ind
ex, Prev: Stab Sections, Up: Top |
3923 | 3923 |
3924 Appendix G GNU Free Documentation License | 3924 Appendix G GNU Free Documentation License |
3925 ***************************************** | 3925 ***************************************** |
3926 | 3926 |
3927 Version 1.3, 3 November 2008 | 3927 Version 1.3, 3 November 2008 |
3928 | 3928 |
3929 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. | 3929 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. |
3930 `http://fsf.org/' | 3930 `http://fsf.org/' |
3931 | 3931 |
3932 Everyone is permitted to copy and distribute verbatim copies | 3932 Everyone is permitted to copy and distribute verbatim copies |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4398 If you have Invariant Sections without Cover Texts, or some other | 4398 If you have Invariant Sections without Cover Texts, or some other |
4399 combination of the three, merge those two alternatives to suit the | 4399 combination of the three, merge those two alternatives to suit the |
4400 situation. | 4400 situation. |
4401 | 4401 |
4402 If your document contains nontrivial examples of program code, we | 4402 If your document contains nontrivial examples of program code, we |
4403 recommend releasing these examples in parallel under your choice of | 4403 recommend releasing these examples in parallel under your choice of |
4404 free software license, such as the GNU General Public License, to | 4404 free software license, such as the GNU General Public License, to |
4405 permit their use in free software. | 4405 permit their use in free software. |
4406 | 4406 |
4407 | 4407 |
4408 File: stabs.info, Node: Symbol Types Index, Next: GNU Free Documentation Licen
se, Prev: Stab Sections, Up: Top | 4408 File: stabs.info, Node: Symbol Types Index, Prev: GNU Free Documentation Licen
se, Up: Top |
4409 | 4409 |
4410 Symbol Types Index | 4410 Symbol Types Index |
4411 ****************** | 4411 ****************** |
4412 | 4412 |
4413 [index ] | 4413 [index ] |
4414 * Menu: | 4414 * Menu: |
4415 | 4415 |
4416 * .bb: Block Structure. (line 26) | 4416 * .bb: Block Structure. (line 26) |
4417 * .be: Block Structure. (line 26) | 4417 * .be: Block Structure. (line 26) |
4418 * C_BCOMM: Common Blocks. (line 10) | 4418 * C_BCOMM: Common Blocks. (line 10) |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4573 Node: N_DEFD138236 | 4573 Node: N_DEFD138236 |
4574 Node: N_EHDECL138693 | 4574 Node: N_EHDECL138693 |
4575 Node: N_MOD2138944 | 4575 Node: N_MOD2138944 |
4576 Node: N_CATCH139182 | 4576 Node: N_CATCH139182 |
4577 Node: N_SSYM139676 | 4577 Node: N_SSYM139676 |
4578 Node: N_SCOPE139961 | 4578 Node: N_SCOPE139961 |
4579 Node: Gould140151 | 4579 Node: Gould140151 |
4580 Node: N_LENG141143 | 4580 Node: N_LENG141143 |
4581 Node: Questions141371 | 4581 Node: Questions141371 |
4582 Node: Stab Sections143015 | 4582 Node: Stab Sections143015 |
4583 Node: Stab Section Basics143613 | 4583 Node: Stab Section Basics143625 |
4584 Node: ELF Linker Relocation146954 | 4584 Node: ELF Linker Relocation146966 |
4585 Node: GNU Free Documentation License150364 | 4585 Node: GNU Free Documentation License150376 |
4586 Node: Symbol Types Index175521 | 4586 Node: Symbol Types Index175555 |
4587 | 4587 |
4588 End Tag Table | 4588 End Tag Table |
OLD | NEW |