From 684a832faafec73eb1b0cdf7a3c2f3269a17cd66 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Thu, 31 Dec 1992 17:14:14 +0000 Subject: * paread.c: New file that contains all HPPA/HPUX symbol reading code. * dbxread.c: Remove almost all HPPA/HPUX symbol reading code. * (dbx_symfile_init): Use sizeof(long) instead of 4. * (dbx_symfile_offsets): Make static. * (pastab_build_psymtabs): New interface routine for paread to send stabs into dbxread. * gdb-stabs.h: Remove gobs of HPPA cruft. --- gdb/gdb-stabs.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gdb/gdb-stabs.h') diff --git a/gdb/gdb-stabs.h b/gdb/gdb-stabs.h index e9a2c54..c77a230 100644 --- a/gdb/gdb-stabs.h +++ b/gdb/gdb-stabs.h @@ -63,11 +63,6 @@ struct dbx_symfile_info { int symbol_size; /* Bytes in a single symbol */ struct stab_section_info *stab_section_info; /* section starting points of the original .o files before linking. */ -/* FIXME: HP kludges that shouldn't be here. */ - int hp_symcount; - char *hp_stringtab; - int hp_stringtab_size; - file_ptr hp_symtab_offset; }; #define DBX_SYMFILE_INFO(o) ((struct dbx_symfile_info *)((o)->sym_private)) @@ -77,10 +72,5 @@ struct dbx_symfile_info { #define DBX_STRINGTAB_SIZE(o) (DBX_SYMFILE_INFO(o)->stringtab_size) #define DBX_SYMTAB_OFFSET(o) (DBX_SYMFILE_INFO(o)->symtab_offset) #define DBX_SYMBOL_SIZE(o) (DBX_SYMFILE_INFO(o)->symbol_size) -/* We don't use a macro for stab_section_info. */ -#define HP_SYMCOUNT(o) (DBX_SYMFILE_INFO(o)->hp_symcount) -#define HP_STRINGTAB(o) (DBX_SYMFILE_INFO(o)->hp_stringtab) -#define HP_STRINGTAB_SIZE(o) (DBX_SYMFILE_INFO(o)->hp_stringtab_size) -#define HP_SYMTAB_OFFSET(o) (DBX_SYMFILE_INFO(o)->hp_symtab_offset) #endif /* GDBSTABS_H */ -- cgit v1.1