From bf18ac80076cb6bff297e75a92995653c3effa5b Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Thu, 25 Jun 1992 23:02:57 +0000 Subject: [PATCH] * dbxread.c (dbx_symfile_init): Move more code under hp9000s800 conditional. * hppabsd-core.c: Don't include "param.h", include instead. * remote.c (remote_wait): Cast signal to void * to avoid warning from busted HP compiler. --- gdb/ChangeLog | 7 +++++++ gdb/dbxread.c | 2 +- gdb/hppabsd-core.c | 1 - gdb/remote.c | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ee2981d8a05..b6cce5a9901 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ Thu Jun 25 15:18:42 1992 Stu Grossman (grossman at cygnus.com) + * dbxread.c (dbx_symfile_init): Move more code under hp9000s800 + conditional. + * hppabsd-core.c: Don't include "param.h", include + instead. + * remote.c (remote_wait): Cast signal to void * to avoid warning + from busted HP compiler. + * partial-stab.h (N_SO): Rearrange code a little so that all SO stabs cause end_psymtab to be called. diff --git a/gdb/dbxread.c b/gdb/dbxread.c index b0875f202e8..a1bb47a5dde 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; diff --git a/gdb/hppabsd-core.c b/gdb/hppabsd-core.c index 681aeac7277..5ca5f9b9fe7 100644 --- a/gdb/hppabsd-core.c +++ b/gdb/hppabsd-core.c @@ -22,7 +22,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "defs.h" -#include "param.h" #include "frame.h" #include "inferior.h" diff --git a/gdb/remote.c b/gdb/remote.c index f38a02e85e0..f8372db58b9 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -420,7 +420,7 @@ remote_wait (status) WSETEXIT ((*status), 0); - ofunc = signal (SIGINT, remote_interrupt); + ofunc = (void (*)) signal (SIGINT, remote_interrupt); getpkt ((char *) buf); signal (SIGINT, ofunc); -- 2.30.2