From 69c49926bb843a21872cf79962d9bf4866b101ff Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 6 Jun 2000 07:00:45 +0000 Subject: [PATCH] Mips is always TARGET_BYTE_ORDER_SELECTABLE_P 1. --- gdb/ChangeLog | 12 ++++++++++++ gdb/config/mips/tm-embed.h | 4 +--- gdb/config/mips/tm-embed64.h | 4 +--- gdb/config/mips/tm-embedl.h | 4 +--- gdb/config/mips/tm-embedl64.h | 4 +--- gdb/config/mips/tm-mips.h | 6 ++++++ gdb/config/mips/tm-tx39.h | 3 +-- gdb/config/mips/tm-tx39l.h | 3 +-- gdb/config/mips/tm-vr4100.h | 1 - gdb/config/mips/tm-vr4300.h | 2 -- gdb/config/mips/tm-vr4300el.h | 2 -- gdb/config/mips/tm-vr4xxx.h | 1 - gdb/config/mips/tm-vr4xxxel.h | 1 - gdb/config/mips/tm-vr5000.h | 1 - gdb/config/mips/tm-vr5000el.h | 1 - 15 files changed, 24 insertions(+), 25 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 44eafbb687..e95019e6b1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +Tue Jun 6 16:46:37 2000 Andrew Cagney + + * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h, + config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h, + config/mips/tm-vr4300el.h, config/mips/tm-vr4100.h, + config/mips/tm-vr4300.h, config/mips/tm-tx39l.h, + config/mips/tm-tx39.h, config/mips/tm-embedl64.h, + config/mips/tm-embedl.h, config/mips/tm-embed64.h, + config/mips/tm-embed.h: Delete TARGET_BYTE_ORDER_SELECTABLE_P. + + * tm-mips.h (TARGET_BYTE_ORDER_SELECTABLE_P): Define as 1. + Tue Jun 6 16:21:14 2000 Andrew Cagney * gdbarch.sh (generic_register_convertible_not, diff --git a/gdb/config/mips/tm-embed.h b/gdb/config/mips/tm-embed.h index faaffee294..fc67206cda 100644 --- a/gdb/config/mips/tm-embed.h +++ b/gdb/config/mips/tm-embed.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. +/* Copyright (C) 1993, 2000 Free Software Foundation, Inc. This file is part of GDB. @@ -17,8 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 - #include "mips/tm-bigmips.h" #undef DEFAULT_MIPS_TYPE diff --git a/gdb/config/mips/tm-embed64.h b/gdb/config/mips/tm-embed64.h index d1467d0ce0..006fb0b84e 100644 --- a/gdb/config/mips/tm-embed64.h +++ b/gdb/config/mips/tm-embed64.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. +/* Copyright (C) 1993, 2000 Free Software Foundation, Inc. This file is part of GDB. @@ -17,6 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 - #include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-embedl.h b/gdb/config/mips/tm-embedl.h index 416a7e3051..5b3221d846 100644 --- a/gdb/config/mips/tm-embedl.h +++ b/gdb/config/mips/tm-embedl.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. +/* Copyright (C) 1993, 2000 Free Software Foundation, Inc. This file is part of GDB. @@ -17,6 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 - #include "mips/tm-mips.h" diff --git a/gdb/config/mips/tm-embedl64.h b/gdb/config/mips/tm-embedl64.h index 77e368de90..a33b13c46f 100644 --- a/gdb/config/mips/tm-embedl64.h +++ b/gdb/config/mips/tm-embedl64.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. +/* Copyright (C) 1993, 2000 Free Software Foundation, Inc. This file is part of GDB. @@ -17,6 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 - #include "mips/tm-mips64.h" diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 30d00aef72..b711a6c84e 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -588,3 +588,9 @@ extern void mips_set_processor_type_command (char *, int); /* MIPS sign extends addresses */ #define POINTER_TO_ADDRESS(TYPE,BUF) (signed_pointer_to_address (TYPE, BUF)) #define ADDRESS_TO_POINTER(TYPE,BUF,ADDR) (address_to_signed_pointer (TYPE, BUF, ADDR)) + + +/* MIPS is always bi-endian */ +#if !GDB_MULTI_ARCH +#define TARGET_BYTE_ORDER_SELECTABLE_P 1 +#endif diff --git a/gdb/config/mips/tm-tx39.h b/gdb/config/mips/tm-tx39.h index e212a51d31..520db7b6b5 100644 --- a/gdb/config/mips/tm-tx39.h +++ b/gdb/config/mips/tm-tx39.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. +/* Copyright (C) 1993, 2000 Free Software Foundation, Inc. This file is part of GDB. @@ -17,7 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define MIPS_EABI 1 #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE diff --git a/gdb/config/mips/tm-tx39l.h b/gdb/config/mips/tm-tx39l.h index 5488830b5d..30ba78ad0b 100644 --- a/gdb/config/mips/tm-tx39l.h +++ b/gdb/config/mips/tm-tx39l.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. +/* Copyright (C) 1993, 2000 Free Software Foundation, Inc. This file is part of GDB. @@ -17,7 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define MIPS_EABI 1 #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE diff --git a/gdb/config/mips/tm-vr4100.h b/gdb/config/mips/tm-vr4100.h index e28e28ed07..9c876192d0 100644 --- a/gdb/config/mips/tm-vr4100.h +++ b/gdb/config/mips/tm-vr4100.h @@ -17,7 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define MIPS_EABI 1 #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE #define TARGET_PTR_BIT 64 diff --git a/gdb/config/mips/tm-vr4300.h b/gdb/config/mips/tm-vr4300.h index 3f85dd0578..b8dc55064a 100644 --- a/gdb/config/mips/tm-vr4300.h +++ b/gdb/config/mips/tm-vr4300.h @@ -17,6 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 - #include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-vr4300el.h b/gdb/config/mips/tm-vr4300el.h index d45ab84c9b..953b0758d0 100644 --- a/gdb/config/mips/tm-vr4300el.h +++ b/gdb/config/mips/tm-vr4300el.h @@ -17,6 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 - #include "mips/tm-mips64.h" diff --git a/gdb/config/mips/tm-vr4xxx.h b/gdb/config/mips/tm-vr4xxx.h index b8f99df813..2878227cd9 100644 --- a/gdb/config/mips/tm-vr4xxx.h +++ b/gdb/config/mips/tm-vr4xxx.h @@ -19,6 +19,5 @@ #define GDB_MULTI_ARCH 1 #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_DOUBLE -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-vr4xxxel.h b/gdb/config/mips/tm-vr4xxxel.h index aaa2a249a6..c9eedc3713 100644 --- a/gdb/config/mips/tm-vr4xxxel.h +++ b/gdb/config/mips/tm-vr4xxxel.h @@ -19,6 +19,5 @@ #define GDB_MULTI_ARCH 1 #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_DOUBLE -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #include "mips/tm-mips64.h" diff --git a/gdb/config/mips/tm-vr5000.h b/gdb/config/mips/tm-vr5000.h index a00a6a804c..1bb91ba256 100644 --- a/gdb/config/mips/tm-vr5000.h +++ b/gdb/config/mips/tm-vr5000.h @@ -18,7 +18,6 @@ Boston, MA 02111-1307, USA. */ #define GDB_MULTI_ARCH 1 -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define MIPS_EABI 1 #include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-vr5000el.h b/gdb/config/mips/tm-vr5000el.h index 78c3d5862b..a93e72880e 100644 --- a/gdb/config/mips/tm-vr5000el.h +++ b/gdb/config/mips/tm-vr5000el.h @@ -18,7 +18,6 @@ Boston, MA 02111-1307, USA. */ #define GDB_MULTI_ARCH 1 -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define MIPS_EABI 1 #include "mips/tm-mips64.h"