aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-06-25 23:02:57 +0000
committerStu Grossman <grossman@cygnus>1992-06-25 23:02:57 +0000
commitbf18ac80076cb6bff297e75a92995653c3effa5b (patch)
treee7c7dad4a8af0388b68a3b8ee76a80a313c1f1fd /gdb/dbxread.c
parentd98a0a44629e41413cbb243954ab7876ab3919d0 (diff)
downloadgdb-bf18ac80076cb6bff297e75a92995653c3effa5b.zip
gdb-bf18ac80076cb6bff297e75a92995653c3effa5b.tar.gz
gdb-bf18ac80076cb6bff297e75a92995653c3effa5b.tar.bz2
* dbxread.c (dbx_symfile_init): Move more code under hp9000s800
conditional. * hppabsd-core.c: Don't include "param.h", include <sys/param.h> instead. * remote.c (remote_wait): Cast signal to void * to avoid warning from busted HP compiler.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index b0875f2..a1bb47a 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -588,11 +588,11 @@ dbx_symfile_init (objfile)
if (!DBX_TEXT_SECT (objfile))
error ("Can't find .text section in symbol file");
- DBX_SYMBOL_SIZE (objfile) = obj_symbol_entry_size (sym_bfd);
#ifdef hp9000s800
HP_SYMCOUNT (objfile) = obj_hp_sym_count (sym_bfd);
DBX_SYMCOUNT (objfile) = obj_dbx_sym_count (sym_bfd);
#else
+ DBX_SYMBOL_SIZE (objfile) = obj_symbol_entry_size (sym_bfd);
DBX_SYMCOUNT (objfile) = bfd_get_symcount (sym_bfd);
#endif
DBX_SYMTAB_OFFSET (objfile) = SYMBOL_TABLE_OFFSET;