* m88k-tdep.c: Include sys/dir.h before sys/user.h.
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 2 Sep 1993 06:20:20 +0000 (06:20 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 2 Sep 1993 06:20:20 +0000 (06:20 +0000)
Include sys/types.h regardless of USG.

* configure.in: Fix typo (delta88r4 -> delta88v4).

* config/m88k/xm-delta88.h: Don't include sys/siginfo.h.  It was
to make this work on SVR4 before SVR4 had its own configuration,
and it breaks SVR3.

gdb/ChangeLog
gdb/config/m88k/xm-delta88.h
gdb/configure.in
gdb/m88k-tdep.c

index 54e045b..fc19c4e 100644 (file)
@@ -1,5 +1,16 @@
 Thu Sep  2 00:07:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * m88k-tdep.c: Include sys/dir.h before sys/user.h.
+       Include sys/types.h regardless of USG.
+
+       * configure.in: Fix typo (delta88r4 -> delta88v4).
+
+       * config/m88k/xm-delta88.h: Don't include sys/siginfo.h.  It was
+       to make this work on SVR4 before SVR4 had its own configuration,
+       and it breaks SVR3.
+
+       * config/m88k/tm-delta88v4.h: Define FRAME_CHAIN_VALID_ALTERNATE.
+
        * config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
 
        * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
index 51ae16f..c66aed8 100644 (file)
@@ -27,9 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <sys/param.h>
 #include <sys/time.h>
 
-/* Required by <sys/ptrace.h>.  */
-#include <sys/siginfo.h>
-
 #define HAVE_TERMIO
 
 /*#define USIZE 2048*/
index 29dcdee..a61de10 100644 (file)
@@ -234,7 +234,7 @@ m68*-*-sunos3*)             gdb_target=sun3os3 ;;
 m68*-*-sunos4*)                gdb_target=sun3os4 ;;
 m68*-*-vxworks*)       gdb_target=vxworks68 ;;
 
-m88*-motorola-sysv4*)  gdb_target=delta88r4 ;;
+m88*-motorola-sysv4*)  gdb_target=delta88v4 ;;
 m88*-motorola-*)       gdb_target=delta88 ;;
 m88*-*-*)              gdb_target=m88k ;;
 
index 952488c..6a285ea 100644 (file)
@@ -22,13 +22,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "inferior.h"
 #include "value.h"
 
-#ifdef USG
 #include <sys/types.h>
-#endif
-
 #include <sys/param.h>
 #include <signal.h>
 #include "gdbcore.h"
+#include <sys/dir.h>   /* needed by sys/user.h on delta88 running SVR3.  */
 #include <sys/user.h>
 #ifndef USER                   /* added to support BCS ptrace_user */