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/dwarf2read.c | |
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/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index d79b2e3..496b74f 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -4489,7 +4489,6 @@ dwarf2_create_include_psymtab (const char *name, struct partial_symtab *pst, subpst->dirname = pst->dirname; } - subpst->section_offsets = pst->section_offsets; subpst->textlow = 0; subpst->texthigh = 0; @@ -5890,8 +5889,7 @@ create_partial_symtab (struct dwarf2_per_cu_data *per_cu, const char *name) struct objfile *objfile = per_cu->objfile; struct partial_symtab *pst; - pst = start_psymtab_common (objfile, objfile->section_offsets, - name, 0, + pst = start_psymtab_common (objfile, name, 0, objfile->global_psymbols.next, objfile->static_psymbols.next); |