diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-03-30 17:21:48 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-03-30 17:21:48 +0000 |
commit | 7ce59000414bfc68117e3733ac6c369aa36b3715 (patch) | |
tree | 254e58089e086bc260019abec91dcf3571fd3434 /gdb/elfread.c | |
parent | 0c2ead7e1669088ac2092baa43524f1c9f9b5215 (diff) | |
download | binutils-7ce59000414bfc68117e3733ac6c369aa36b3715.zip binutils-7ce59000414bfc68117e3733ac6c369aa36b3715.tar.gz binutils-7ce59000414bfc68117e3733ac6c369aa36b3715.tar.bz2 |
* MAINTAINERS: Remove d10v entry.
* Makefile.in (SFILES): Remove dwarfread.c.
(COMMON_OBS): Remove dwarfread.o.
(gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
(remote-est.o, rom68k-rom.o): Delete.
* NEWS: Mention removal of d10v, target abug, target cpu32bug,
target est, target rom68k, and DWARF 1.
* configure.tgt: Mark d10v as removed.
* dwarf2read.c: Doc update.
* elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
and lnsize.
(elf_locate_sections): Do not set them.
(elf_symfile_read): Do not call dwarf_build_psymtabs.
* symfile.h (dwarf_build_psymtabs): Delete prototype.
* config/m68k/monitor.mt (TDEPFILES): Prune.
* abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
* gdb.texinfo (M68K): Remove obsolete ROM monitors.
* gdbint.texinfo (DWARF 1): Delete section and other dwarfread.c
references.
* gdb.asm/asm-source.exp: Remove d10v case.
* lib/gdb.exp (skip_cplus_tests): Likewise.
* gdb.asm/d10v.inc: Deleted.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r-- | gdb/elfread.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c index 646b314..a80b8f0 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -44,10 +44,6 @@ extern void _initialize_elfread (void); struct elfinfo { - file_ptr dboffset; /* Offset to dwarf debug section */ - unsigned int dbsize; /* Size of dwarf debug section */ - file_ptr lnoffset; /* Offset to dwarf line number section */ - unsigned int lnsize; /* Size of dwarf line number section */ asection *stabsect; /* Section pointer for .stab section */ asection *stabindexsect; /* Section pointer for .stab.index section */ asection *mdebugsect; /* Section pointer for .mdebug section */ @@ -80,17 +76,7 @@ elf_locate_sections (bfd *ignore_abfd, asection *sectp, void *eip) struct elfinfo *ei; ei = (struct elfinfo *) eip; - if (strcmp (sectp->name, ".debug") == 0) - { - ei->dboffset = sectp->filepos; - ei->dbsize = bfd_get_section_size (sectp); - } - else if (strcmp (sectp->name, ".line") == 0) - { - ei->lnoffset = sectp->filepos; - ei->lnsize = bfd_get_section_size (sectp); - } - else if (strcmp (sectp->name, ".stab") == 0) + if (strcmp (sectp->name, ".stab") == 0) { ei->stabsect = sectp; } @@ -451,7 +437,6 @@ elf_symtab_read (struct objfile *objfile, int dynamic, We look for sections with specific names, to tell us what debug format to look for: FIXME!!! - dwarf_build_psymtabs() builds psymtabs for DWARF symbols; elfstab_build_psymtabs() handles STABS symbols; mdebug_build_psymtabs() handles ECOFF debugging information. @@ -608,14 +593,6 @@ elf_symfile_read (struct objfile *objfile, int mainline) /* DWARF 2 sections */ dwarf2_build_psymtabs (objfile, mainline); } - else if (ei.dboffset && ei.lnoffset) - { - /* DWARF sections */ - dwarf_build_psymtabs (objfile, - mainline, - ei.dboffset, ei.dbsize, - ei.lnoffset, ei.lnsize); - } /* FIXME: kettenis/20030504: This still needs to be integrated with dwarf2read.c in a better way. */ |