From 85a85d8a14bfc68391bb4a8f6d713351550cdd6c Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Tue, 2 Feb 1999 23:38:45 +0000 Subject: Tue Feb 2 17:36:29 1999 Elena Zannoni * hp-psymtab-read.c (do_pxdb): New function. Check whether the file needs to be processed by pxdb (an HP debug info massaging tool), if so call it. (hpread_build_psymtabs): Initialize scan_start to 0 and simplify flow of control. * somread.c (som_symfile_read): Add call to do_pxdb (), in hp-psymtab-read.c. * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific code. (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now in hp-psymtab-read.c. --- gdb/somread.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/somread.c') diff --git a/gdb/somread.c b/gdb/somread.c index 5f0d0c7..19e3ff1 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -65,6 +65,9 @@ hpread_symfile_finish PARAMS ((struct objfile *)); extern void hpread_symfile_init PARAMS ((struct objfile *)); +extern void +do_pxdb PARAMS ((bfd *)); + /* LOCAL FUNCTION @@ -360,6 +363,8 @@ som_symfile_read (objfile, section_offsets, 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, 0); -- cgit v1.1