From 1b59432770021935a1b9095a851fe33e2b1d1228 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 9 Mar 2001 03:56:03 +0000 Subject: [PATCH] Obsolete harris 88k target. --- gdb/ChangeLog | 10 +++ gdb/config/m88k/cxux.mh | 14 ++-- gdb/config/m88k/cxux.mt | 6 +- gdb/config/m88k/nm-cxux.h | 62 +++++++++--------- gdb/config/m88k/tm-cxux.h | 124 +++++++++++++++++------------------ gdb/config/m88k/xm-cxux.h | 132 +++++++++++++++++++------------------- gdb/configure.host | 2 +- gdb/configure.tgt | 2 +- 8 files changed, 181 insertions(+), 171 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d46c992af77..a863008ac0c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2001-03-08 Andrew Cagney + + * configure.host (m88*-harris-cxux*): Mark as obsolete. + * configure.tgt: Ditto. + * config/m88k/xm-cxux.h: Ditto. + * config/m88k/tm-cxux.h: Ditto. + * config/m88k/nm-cxux.h: Ditto. + * config/m88k/cxux.mt: Ditto. + * config/m88k/cxux.mh: Ditto. + 2001-03-08 Andrew Cagney * Makefile.in: Delete rules for obsolete files. diff --git a/gdb/config/m88k/cxux.mh b/gdb/config/m88k/cxux.mh index cb02225cbd2..d6c560707dd 100644 --- a/gdb/config/m88k/cxux.mh +++ b/gdb/config/m88k/cxux.mh @@ -1,7 +1,7 @@ -# Host: Motorola 88k running CX/UX - -XM_FILE= xm-cxux.h -XDEPFILES= - -NAT_FILE= nm-cxux.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o cxux-nat.o corelow.o core-aout.o +# OBSOLETE # Host: Motorola 88k running CX/UX +# OBSOLETE +# OBSOLETE XM_FILE= xm-cxux.h +# OBSOLETE XDEPFILES= +# OBSOLETE +# OBSOLETE NAT_FILE= nm-cxux.h +# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o cxux-nat.o corelow.o core-aout.o diff --git a/gdb/config/m88k/cxux.mt b/gdb/config/m88k/cxux.mt index 295de84c903..7b597ddfd2e 100644 --- a/gdb/config/m88k/cxux.mt +++ b/gdb/config/m88k/cxux.mt @@ -1,3 +1,3 @@ -# Target: Motorola 88k running Harris CX/UX -TDEPFILES= m88k-tdep.o remote-bug.o -TM_FILE= tm-cxux.h +# OBSOLETE # Target: Motorola 88k running Harris CX/UX +# OBSOLETE TDEPFILES= m88k-tdep.o remote-bug.o +# OBSOLETE TM_FILE= tm-cxux.h diff --git a/gdb/config/m88k/nm-cxux.h b/gdb/config/m88k/nm-cxux.h index 8a8eaef9aaa..957c9bb96c3 100644 --- a/gdb/config/m88k/nm-cxux.h +++ b/gdb/config/m88k/nm-cxux.h @@ -1,31 +1,31 @@ -/* Native definitions for Motorola 88K running Harris CX/UX - Copyright 1993, 1994 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* Override the standard fetch/store definitions. */ - -#define FETCH_INFERIOR_REGISTERS - -#define REGISTER_U_ADDR(addr, blockend, regno) \ - (addr) = m88k_register_u_addr ((blockend),(regno)); - -#define ATTACH_DETACH - -#define PTRACE_ATTACH 128 -#define PTRACE_DETACH 129 +/* OBSOLETE /* Native definitions for Motorola 88K running Harris CX/UX */ +/* OBSOLETE Copyright 1993, 1994 Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE /* Override the standard fetch/store definitions. */ */ +/* OBSOLETE */ +/* OBSOLETE #define FETCH_INFERIOR_REGISTERS */ +/* OBSOLETE */ +/* OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \ */ +/* OBSOLETE (addr) = m88k_register_u_addr ((blockend),(regno)); */ +/* OBSOLETE */ +/* OBSOLETE #define ATTACH_DETACH */ +/* OBSOLETE */ +/* OBSOLETE #define PTRACE_ATTACH 128 */ +/* OBSOLETE #define PTRACE_DETACH 129 */ diff --git a/gdb/config/m88k/tm-cxux.h b/gdb/config/m88k/tm-cxux.h index b74f1224f51..653637ad1b0 100644 --- a/gdb/config/m88k/tm-cxux.h +++ b/gdb/config/m88k/tm-cxux.h @@ -1,62 +1,62 @@ -/* Target definitions for m88k running Harris CX/UX. - Copyright 1993, 1994 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -#define HARRIS_TARGET 1 - -#define CXUX_TARGET 1 - -/* Type of X registers, as supplied by the OS */ - -typedef struct - { - long w1, w2, w3, w4; - } -X_REGISTER_RAW_TYPE; - -#define X_REGISTER_VIRTUAL_TYPE double - -#include "m88k/tm-m88k.h" - -#define ADD_SHARED_SYMBOL_FILES(args,have_tty) add_shared_symbol_files () - -#define CONVERT_REGISTER_ADDRESS - -/* Always allocate space for both, but recognize that the m88100 has no - FP_REGS. */ - -#undef ARCH_NUM_REGS -#define ARCH_NUM_REGS (target_is_m88110 ? (GP_REGS + FP_REGS) : (GP_REGS)) - -/* Don't need this grotesquerie. */ - -#undef SHIFT_INST_REGS - -/* Extended registers are treated as 16 bytes by Harris' OS's. - We treat them as 16 bytes here for consistency's sake. */ - -#undef REGISTER_RAW_SIZE -#define REGISTER_RAW_SIZE(N) ((N) < XFP_REGNUM ? 4 : 16) - -#undef REGISTER_BYTE -#define REGISTER_BYTE(N) \ - ((N) >= XFP_REGNUM \ - ? (((GP_REGS) * REGISTER_RAW_SIZE(0)) + \ - (((N) - XFP_REGNUM) * REGISTER_RAW_SIZE(XFP_REGNUM))) \ - : ((N) * REGISTER_RAW_SIZE(0))) +/* OBSOLETE /* Target definitions for m88k running Harris CX/UX. */ +/* OBSOLETE Copyright 1993, 1994 Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #define HARRIS_TARGET 1 */ +/* OBSOLETE */ +/* OBSOLETE #define CXUX_TARGET 1 */ +/* OBSOLETE */ +/* OBSOLETE /* Type of X registers, as supplied by the OS */ */ +/* OBSOLETE */ +/* OBSOLETE typedef struct */ +/* OBSOLETE { */ +/* OBSOLETE long w1, w2, w3, w4; */ +/* OBSOLETE } */ +/* OBSOLETE X_REGISTER_RAW_TYPE; */ +/* OBSOLETE */ +/* OBSOLETE #define X_REGISTER_VIRTUAL_TYPE double */ +/* OBSOLETE */ +/* OBSOLETE #include "m88k/tm-m88k.h" */ +/* OBSOLETE */ +/* OBSOLETE #define ADD_SHARED_SYMBOL_FILES(args,have_tty) add_shared_symbol_files () */ +/* OBSOLETE */ +/* OBSOLETE #define CONVERT_REGISTER_ADDRESS */ +/* OBSOLETE */ +/* OBSOLETE /* Always allocate space for both, but recognize that the m88100 has no */ +/* OBSOLETE FP_REGS. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef ARCH_NUM_REGS */ +/* OBSOLETE #define ARCH_NUM_REGS (target_is_m88110 ? (GP_REGS + FP_REGS) : (GP_REGS)) */ +/* OBSOLETE */ +/* OBSOLETE /* Don't need this grotesquerie. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef SHIFT_INST_REGS */ +/* OBSOLETE */ +/* OBSOLETE /* Extended registers are treated as 16 bytes by Harris' OS's. */ +/* OBSOLETE We treat them as 16 bytes here for consistency's sake. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_RAW_SIZE */ +/* OBSOLETE #define REGISTER_RAW_SIZE(N) ((N) < XFP_REGNUM ? 4 : 16) */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_BYTE */ +/* OBSOLETE #define REGISTER_BYTE(N) \ */ +/* OBSOLETE ((N) >= XFP_REGNUM \ */ +/* OBSOLETE ? (((GP_REGS) * REGISTER_RAW_SIZE(0)) + \ */ +/* OBSOLETE (((N) - XFP_REGNUM) * REGISTER_RAW_SIZE(XFP_REGNUM))) \ */ +/* OBSOLETE : ((N) * REGISTER_RAW_SIZE(0))) */ diff --git a/gdb/config/m88k/xm-cxux.h b/gdb/config/m88k/xm-cxux.h index 4d1ba23d459..db8fb868369 100644 --- a/gdb/config/m88k/xm-cxux.h +++ b/gdb/config/m88k/xm-cxux.h @@ -1,66 +1,66 @@ -/* Host-machine dependent parameters for Motorola 88000, for GDB. - Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1994, 1996, 1998 - Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -#include "m88k/xm-m88k.h" - -#define HOST_BYTE_ORDER BIG_ENDIAN - -#if !defined (USG) -#define USG 1 -#endif - -#include - -#define x_foff _x_x._x_offset -#define x_fname _x_name -#define USER ptrace_user -/* - #define _BSD_WAIT_FLAVOR - */ - -#define HAVE_TERMIO - -#ifndef USIZE -#define USIZE 2048 -#ifndef UPAGES -#define UPAGES USIZE -#endif -#endif -#define NBPG NBPC - -/* Get rid of any system-imposed stack limit if possible. */ - -#define SET_STACK_LIMIT_HUGE - -/* This is the amount to subtract from u.u_ar0 - to get the offset in the core file of the register values. */ - -/* Since registers r0 through r31 are stored directly in the struct ptrace_user, - (for m88k BCS) - the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */ - -#define KERNEL_U_ADDR 0 - -/* The CX/UX C compiler doesn't permit complex expressions as array bounds. */ -#define STRICT_ANSI_BOUNDS - -#define CORE_REGISTER_ADDR(regno, reg_ptr) \ - m88k_harris_core_register_addr(regno, reg_ptr) +/* OBSOLETE /* Host-machine dependent parameters for Motorola 88000, for GDB. */ +/* OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1994, 1996, 1998 */ +/* OBSOLETE Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #include "m88k/xm-m88k.h" */ +/* OBSOLETE */ +/* OBSOLETE #define HOST_BYTE_ORDER BIG_ENDIAN */ +/* OBSOLETE */ +/* OBSOLETE #if !defined (USG) */ +/* OBSOLETE #define USG 1 */ +/* OBSOLETE #endif */ +/* OBSOLETE */ +/* OBSOLETE #include */ +/* OBSOLETE */ +/* OBSOLETE #define x_foff _x_x._x_offset */ +/* OBSOLETE #define x_fname _x_name */ +/* OBSOLETE #define USER ptrace_user */ +/* OBSOLETE /* */ +/* OBSOLETE #define _BSD_WAIT_FLAVOR */ +/* OBSOLETE */ */ +/* OBSOLETE */ +/* OBSOLETE #define HAVE_TERMIO */ +/* OBSOLETE */ +/* OBSOLETE #ifndef USIZE */ +/* OBSOLETE #define USIZE 2048 */ +/* OBSOLETE #ifndef UPAGES */ +/* OBSOLETE #define UPAGES USIZE */ +/* OBSOLETE #endif */ +/* OBSOLETE #endif */ +/* OBSOLETE #define NBPG NBPC */ +/* OBSOLETE */ +/* OBSOLETE /* Get rid of any system-imposed stack limit if possible. */ */ +/* OBSOLETE */ +/* OBSOLETE #define SET_STACK_LIMIT_HUGE */ +/* OBSOLETE */ +/* OBSOLETE /* This is the amount to subtract from u.u_ar0 */ +/* OBSOLETE to get the offset in the core file of the register values. */ */ +/* OBSOLETE */ +/* OBSOLETE /* Since registers r0 through r31 are stored directly in the struct ptrace_user, */ +/* OBSOLETE (for m88k BCS) */ +/* OBSOLETE the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */ */ +/* OBSOLETE */ +/* OBSOLETE #define KERNEL_U_ADDR 0 */ +/* OBSOLETE */ +/* OBSOLETE /* The CX/UX C compiler doesn't permit complex expressions as array bounds. */ */ +/* OBSOLETE #define STRICT_ANSI_BOUNDS */ +/* OBSOLETE */ +/* OBSOLETE #define CORE_REGISTER_ADDR(regno, reg_ptr) \ */ +/* OBSOLETE m88k_harris_core_register_addr(regno, reg_ptr) */ diff --git a/gdb/configure.host b/gdb/configure.host index 322b42c524a..215a9663852 100644 --- a/gdb/configure.host +++ b/gdb/configure.host @@ -104,7 +104,7 @@ m68*-sun-sunos3*) gdb_host=sun3os3 ;; m68*-sun-sunos4*) gdb_host=sun3os4 ;; m68*-sun-*) gdb_host=sun3os4 ;; -m88*-harris-cxux*) gdb_host=cxux ;; +# OBSOLETE m88*-harris-cxux*) gdb_host=cxux ;; m88*-motorola-sysv4*) gdb_host=delta88v4 ;; m88*-motorola-sysv*) gdb_host=delta88 ;; m88*-*-*) gdb_host=m88k ;; diff --git a/gdb/configure.tgt b/gdb/configure.tgt index bd184ee0571..b277fc199f3 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -174,7 +174,7 @@ m68*-*-sunos4*) gdb_target=sun3os4 m68*-*-sysv4*) gdb_target=m68kv4 ;; m68*-*-vxworks*) gdb_target=vxworks68 ;; -m88*-harris-cxux*) gdb_target=cxux ;; +# OBSOLETE m88*-harris-cxux*) gdb_target=cxux ;; m88*-motorola-sysv4*) gdb_target=delta88v4 ;; m88*-motorola-*) gdb_target=delta88 ;; m88*-*-*) gdb_target=m88k ;; -- 2.30.2