aboutsummaryrefslogtreecommitdiff
path: root/gdb/somread.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>1999-02-02 23:38:45 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>1999-02-02 23:38:45 +0000
commit85a85d8a14bfc68391bb4a8f6d713351550cdd6c (patch)
tree865bff9bdff7f7748ee1f8ac71bb08d728134228 /gdb/somread.c
parent8ad50a73047655b25e61164063a1e07f5c56888f (diff)
downloadgdb-85a85d8a14bfc68391bb4a8f6d713351550cdd6c.zip
gdb-85a85d8a14bfc68391bb4a8f6d713351550cdd6c.tar.gz
gdb-85a85d8a14bfc68391bb4a8f6d713351550cdd6c.tar.bz2
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.
Diffstat (limited to 'gdb/somread.c')
-rw-r--r--gdb/somread.c5
1 files changed, 5 insertions, 0 deletions
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);