From f9440640b260df37f488fa5c294de33183078e75 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 2 Sep 1993 06:20:20 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 11 +++++++++++ gdb/config/m88k/xm-delta88.h | 3 --- gdb/configure.in | 2 +- gdb/m88k-tdep.c | 4 +--- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 54e045b2d05..fc19c4e795f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/config/m88k/xm-delta88.h b/gdb/config/m88k/xm-delta88.h index 51ae16ff68a..c66aed87042 100644 --- a/gdb/config/m88k/xm-delta88.h +++ b/gdb/config/m88k/xm-delta88.h @@ -27,9 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include -/* Required by . */ -#include - #define HAVE_TERMIO /*#define USIZE 2048*/ diff --git a/gdb/configure.in b/gdb/configure.in index 29dcdee22ed..a61de103362 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -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 ;; diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c index 952488c0cd4..6a285ea3e14 100644 --- a/gdb/m88k-tdep.c +++ b/gdb/m88k-tdep.c @@ -22,13 +22,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "inferior.h" #include "value.h" -#ifdef USG #include -#endif - #include #include #include "gdbcore.h" +#include /* needed by sys/user.h on delta88 running SVR3. */ #include #ifndef USER /* added to support BCS ptrace_user */ -- 2.30.2