diff options
author | Doug Evans <dje@google.com> | 2015-06-19 11:34:43 -0700 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2015-06-19 11:34:43 -0700 |
commit | 18a94d75a0a9baca8e2db2563fa3e637415ad86e (patch) | |
tree | 4ba0d9cfdf0c526f58ec81bb4bf2b8c276482c12 /gdb/gdb-stabs.h | |
parent | ef8b8d4ad51c2b90e022c5442f60b39f05e38ef6 (diff) | |
download | gdb-18a94d75a0a9baca8e2db2563fa3e637415ad86e.zip gdb-18a94d75a0a9baca8e2db2563fa3e637415ad86e.tar.gz gdb-18a94d75a0a9baca8e2db2563fa3e637415ad86e.tar.bz2 |
Remove special support in gdb for Sun's version of stabs.
Discussion:
https://sourceware.org/ml/gdb-patches/2015-05/msg00169.html
gdb/ChangeLog:
* NEWS: Mention Sun's version of stabs is no longer supported.
* elfread.c (free_elfinfo): Delete. All uses updated.
(elfstab_offset_sections): Delete. All uses updated.
* gdb-stabs.h (stab_section_info): Delete. All uses updated.
* psympriv.h (partial_symtab) <section_offsets>: Delete.
All uses updated.
* psymtab.c (start_psymtab_common): Delete arg section_offsets.
All callers updated.
gdb/doc/ChangeLog:
* stabs.texinfo (ELF Linker Relocation): Mention Sun stabs is no
longer supported.
Diffstat (limited to 'gdb/gdb-stabs.h')
-rw-r--r-- | gdb/gdb-stabs.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/gdb-stabs.h b/gdb/gdb-stabs.h index aca3479..fa78ba2 100644 --- a/gdb/gdb-stabs.h +++ b/gdb/gdb-stabs.h @@ -30,20 +30,6 @@ global because it is referenced by several modules. */ extern const struct objfile_data *dbx_objfile_data_key; -/* The stab_section_info chain remembers info from the ELF symbol table, - while psymtabs are being built for the other symbol tables in the - objfile. It is destroyed at the complation of psymtab-reading. - Any info that was used from it has been copied into psymtabs. */ - -struct stab_section_info - { - char *filename; - struct stab_section_info *next; - int found; /* Count of times it's found in searching. */ - size_t num_sections; - CORE_ADDR sections[1]; - }; - /* Information is passed among various dbxread routines for accessing symbol files. A pointer to this structure is kept in the objfile, using the dbx_objfile_data_key. */ @@ -57,9 +43,6 @@ struct dbx_symfile_info int stringtab_size; /* Its size */ file_ptr symtab_offset; /* Offset in file to symbol table */ int symbol_size; /* Bytes in a single symbol */ - struct stab_section_info *stab_section_info; /* Section starting points - of the original .o files - before linking. */ /* See stabsread.h for the use of the following. */ struct header_file *header_files; |