aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-06-19 11:34:43 -0700
committerDoug Evans <dje@google.com>2015-06-19 11:34:43 -0700
commit18a94d75a0a9baca8e2db2563fa3e637415ad86e (patch)
tree4ba0d9cfdf0c526f58ec81bb4bf2b8c276482c12 /gdb/psymtab.c
parentef8b8d4ad51c2b90e022c5442f60b39f05e38ef6 (diff)
downloadgdb-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/psymtab.c')
-rw-r--r--gdb/psymtab.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index 9ee6ed1..ba677bc 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -1014,18 +1014,6 @@ dump_psymtab (struct objfile *objfile, struct partial_symtab *psymtab,
fprintf_filtered (outfile, ")\n");
}
- fprintf_filtered (outfile, " Relocate symbols by ");
- for (i = 0; i < objfile->num_sections; ++i)
- {
- if (i != 0)
- fprintf_filtered (outfile, ", ");
- wrap_here (" ");
- fputs_filtered (paddress (gdbarch,
- ANOFFSET (psymtab->section_offsets, i)),
- outfile);
- }
- fprintf_filtered (outfile, "\n");
-
fprintf_filtered (outfile, " Symbols cover text addresses ");
fputs_filtered (paddress (gdbarch, psymtab->textlow), outfile);
fprintf_filtered (outfile, "-");
@@ -1526,7 +1514,6 @@ sort_pst_symbols (struct objfile *objfile, struct partial_symtab *pst)
struct partial_symtab *
start_psymtab_common (struct objfile *objfile,
- struct section_offsets *section_offsets,
const char *filename,
CORE_ADDR textlow, struct partial_symbol **global_syms,
struct partial_symbol **static_syms)
@@ -1534,7 +1521,6 @@ start_psymtab_common (struct objfile *objfile,
struct partial_symtab *psymtab;
psymtab = allocate_psymtab (filename, objfile);
- psymtab->section_offsets = section_offsets;
psymtab->textlow = textlow;
psymtab->texthigh = psymtab->textlow; /* default */
psymtab->globals_offset = global_syms - objfile->global_psymbols.list;