aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/dbxread.c2
-rw-r--r--gdb/hppabsd-core.c1
-rw-r--r--gdb/remote.c2
4 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ee2981d..b6cce5a 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 <sys/param.h>
+ 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 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;
diff --git a/gdb/hppabsd-core.c b/gdb/hppabsd-core.c
index 681aeac..5ca5f9b 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 f38a02e..f8372db 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);