forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -2016,7 +2016,7 @@ xcoff_start_psymtab (struct objfile *objfile,
|
||||
struct partial_symbol **static_syms)
|
||||
{
|
||||
struct partial_symtab *result =
|
||||
start_psymtab_common (objfile, objfile->section_offsets,
|
||||
start_psymtab_common (objfile,
|
||||
filename,
|
||||
/* We fill in textlow later. */
|
||||
0,
|
||||
@@ -2079,7 +2079,6 @@ xcoff_end_psymtab (struct objfile *objfile, struct partial_symtab *pst,
|
||||
struct partial_symtab *subpst =
|
||||
allocate_psymtab (include_list[i], objfile);
|
||||
|
||||
subpst->section_offsets = pst->section_offsets;
|
||||
subpst->read_symtab_private = obstack_alloc (&objfile->objfile_obstack,
|
||||
sizeof (struct symloc));
|
||||
((struct symloc *) subpst->read_symtab_private)->first_symnum = 0;
|
||||
|
||||
Reference in New Issue
Block a user