aboutsummaryrefslogtreecommitdiff
path: root/gdb/somread.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-04-10 11:58:15 +0000
committerDaniel Jacobowitz <drow@false.org>2007-04-10 11:58:15 +0000
commit1a92f85678f2cf28128ca444e9c8458b771c3b39 (patch)
treefcbca9ab4ded248ea5dbd57f04c3ac4d2334a5b8 /gdb/somread.c
parent542c95c200376cb920fafd54d6f3016f0b245e1d (diff)
downloadgdb-1a92f85678f2cf28128ca444e9c8458b771c3b39.zip
gdb-1a92f85678f2cf28128ca444e9c8458b771c3b39.tar.gz
gdb-1a92f85678f2cf28128ca444e9c8458b771c3b39.tar.bz2
* Makefile.in (SFILES): Remove hpacc-abi.c.
(COMMON_OBS): Remove hpacc-abi.o. (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). (hpacc-abi.o, hpread.o): Delete rules. * somread.c: Delete extern declarations from hpread.c. (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. (som_symfile_finish): Do not call hpread_symfile_finish. (som_symfile_init): Do not call hpread_symfile_init. * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. * config/pa/hppahpux.mt (TDEPFILES): Likewise. * hpacc-abi.c, hpread.c: Deleted. * gdbint.texinfo (SOM): Correct location of the SOM reader.
Diffstat (limited to 'gdb/somread.c')
-rw-r--r--gdb/somread.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/somread.c b/gdb/somread.c
index 5f0c13b..42cc7a6 100644
--- a/gdb/somread.c
+++ b/gdb/somread.c
@@ -40,16 +40,6 @@
/* Prototypes for local functions. */
static int init_import_symbols (struct objfile *objfile);
-/* FIXME: These should really be in a common header somewhere */
-
-extern void hpread_build_psymtabs (struct objfile *, int);
-
-extern void hpread_symfile_finish (struct objfile *);
-
-extern void hpread_symfile_init (struct objfile *);
-
-extern void do_pxdb (bfd *);
-
/*
LOCAL FUNCTION
@@ -327,8 +317,6 @@ som_symfile_read (struct objfile *objfile, int mainline)
bfd *abfd = objfile->obfd;
struct cleanup *back_to;
- do_pxdb (symfile_bfd_open (objfile->name));
-
init_minimal_symbol_collection ();
back_to = make_cleanup_discard_minimal_symbols ();
@@ -363,12 +351,6 @@ som_symfile_read (struct objfile *objfile, int mainline)
This is emitted by gcc. */
stabsect_build_psymtabs (objfile, mainline,
"$GDB_SYMBOLS$", "$GDB_STRINGS$", "$TEXT$");
-
- /* Now read the native debug information.
- This builds the psymtab. This used to be done via a scan of
- the DNTT, but is now done via the PXDB-built quick-lookup tables
- together with a scan of the GNTT. See hp-psymtab-read.c. */
- hpread_build_psymtabs (objfile, mainline);
}
/* Initialize anything that needs initializing when a completely new symbol
@@ -396,7 +378,6 @@ som_symfile_finish (struct objfile *objfile)
{
xfree (objfile->deprecated_sym_stab_info);
}
- hpread_symfile_finish (objfile);
}
/* SOM specific initialization routine for reading symbols. */
@@ -408,7 +389,6 @@ som_symfile_init (struct objfile *objfile)
find this causes a significant slowdown in gdb then we could
set it in the debug symbol readers only when necessary. */
objfile->flags |= OBJF_REORDERED;
- hpread_symfile_init (objfile);
}
/* SOM specific parsing routine for section offsets.