forked from Imagelibrary/binutils-gdb
Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* 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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user