#include "defs.h"
#include "bfd.h"
-#include <time.h> /* For time_t in libbfd.h. */
-#include <sys/types.h> /* For time_t, if not in time.h. */
-#include "libbfd.h"
#include "som.h"
#include "libhppa.h"
#include <syms.h>
#include "demangle.h"
#include <sys/file.h>
-/* Size of n_value and n_strx fields in a stab symbol. */
-#define BYTES_IN_WORD 4
-
-#if 0
-#include "aout/aout64.h"
-#endif
-
/* Various things we might complain about... */
static void
som_symtab_read (abfd, offset, objfile);
- /* Now read information from the debugging sections. */
+ /* Now read information from the stabs debug sections. */
stabsect_build_psymtabs (objfile, section_offsets, mainline,
"$GDB_SYMBOLS$", "$GDB_STRINGS$", "$TEXT$");
+/* start-sanitize-hpread */
+ /* Now read the native debug information. */
+ hpread_build_psymtabs (objfile, section_offsets, mainline);
+/* end-sanitize-hpread */
+
/* Install any minimal symbols that have been collected as the current
minimal symbols for this objfile. */
install_minimal_symbols (objfile);
{
mfree (objfile -> md, objfile -> sym_stab_info);
}
+/* start-sanitize-hpread */
+ hpread_symfile_finish (objfile);
+/* end-sanitize-hpread */
}
/* SOM specific initialization routine for reading symbols.
Nothing SOM specific left to do anymore. */
static void
-som_symfile_init (ignore)
- struct objfile *ignore;
+som_symfile_init (objfile)
+ struct objfile *objfile;
{
+/* start-sanitize-hpread */
+ hpread_symfile_init (objfile);
+/* end-sanitize-hpread */
}
/* SOM specific parsing routine for section offsets.