From 759181e384bb9bda3b8f0219384d42866474ef49 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 15 Dec 1998 13:35:50 +0000 Subject: [PATCH] config/mips/tm-*.h: (TARGET_BYTE_ORDER_DEFAULT, TARGET_BYTE_ORDER_SELECTABLE_P): Replace TARGET_BYTE_ORDER and TARGET_BYTE_ORDER_SELECTABLE. --- gdb/ChangeLog | 6 ++++++ gdb/config/mips/tm-bigmips.h | 2 +- gdb/config/mips/tm-bigmips64.h | 2 +- gdb/config/mips/tm-embed.h | 2 +- gdb/config/mips/tm-embed64.h | 2 +- gdb/config/mips/tm-embedl.h | 2 +- gdb/config/mips/tm-embedl64.h | 2 +- gdb/config/mips/tm-mips.h | 4 ++-- gdb/config/mips/tm-tx39.h | 2 +- gdb/config/mips/tm-tx39l.h | 2 +- gdb/config/mips/tm-vr4300.h | 2 +- gdb/config/mips/tm-vr4300el.h | 2 +- gdb/config/mips/tm-vr4320.h | 2 +- gdb/config/mips/tm-vr4xxx.h | 2 +- gdb/config/mips/tm-vr5000.h | 2 +- gdb/config/mips/tm-vr5000el.h | 2 +- 16 files changed, 22 insertions(+), 16 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f0b6220945b..e886ac2b561 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Tue Dec 15 23:46:40 1998 Andrew Cagney + + * config/mips/tm-*.h: (TARGET_BYTE_ORDER_DEFAULT, + TARGET_BYTE_ORDER_SELECTABLE_P): Replace TARGET_BYTE_ORDER and + TARGET_BYTE_ORDER_SELECTABLE. + 1998-12-14 Anthony Thompson (athompso@cambridge.arm.com) * remote-rdp.c (rdp_init): Don't discard first character on reset. diff --git a/gdb/config/mips/tm-bigmips.h b/gdb/config/mips/tm-bigmips.h index 0669c268967..271ceb0b363 100644 --- a/gdb/config/mips/tm-bigmips.h +++ b/gdb/config/mips/tm-bigmips.h @@ -16,6 +16,6 @@ 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 TARGET_BYTE_ORDER BIG_ENDIAN +#define TARGET_BYTE_ORDER_DEFAULT BIG_ENDIAN #include "mips/tm-mips.h" diff --git a/gdb/config/mips/tm-bigmips64.h b/gdb/config/mips/tm-bigmips64.h index 3d49d4ddf91..8b255a5a326 100644 --- a/gdb/config/mips/tm-bigmips64.h +++ b/gdb/config/mips/tm-bigmips64.h @@ -18,6 +18,6 @@ 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 TARGET_BYTE_ORDER BIG_ENDIAN +#define TARGET_BYTE_ORDER_DEFAULT BIG_ENDIAN #include "mips/tm-mips64.h" diff --git a/gdb/config/mips/tm-embed.h b/gdb/config/mips/tm-embed.h index 4a4aa75b8f0..7bf17597706 100644 --- a/gdb/config/mips/tm-embed.h +++ b/gdb/config/mips/tm-embed.h @@ -16,7 +16,7 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #include "mips/tm-bigmips.h" diff --git a/gdb/config/mips/tm-embed64.h b/gdb/config/mips/tm-embed64.h index 63296bb6c3d..df90f58fa98 100644 --- a/gdb/config/mips/tm-embed64.h +++ b/gdb/config/mips/tm-embed64.h @@ -16,6 +16,6 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#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 361c9f92822..23abcd9db84 100644 --- a/gdb/config/mips/tm-embedl.h +++ b/gdb/config/mips/tm-embedl.h @@ -16,6 +16,6 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#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 112ddd4fa3e..c7dca195324 100644 --- a/gdb/config/mips/tm-embedl64.h +++ b/gdb/config/mips/tm-embedl64.h @@ -16,6 +16,6 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#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 bbc4e2bb137..ffa5bd4c52c 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -34,8 +34,8 @@ struct value; #include "coff/sym.h" /* Needed for PDR below. */ #include "coff/symconst.h" -#if !defined (TARGET_BYTE_ORDER) -#define TARGET_BYTE_ORDER LITTLE_ENDIAN +#if !defined (TARGET_BYTE_ORDER_DEFAULT) +#define TARGET_BYTE_ORDER_DEFAULT LITTLE_ENDIAN #endif #if !defined (GDB_TARGET_IS_MIPS64) diff --git a/gdb/config/mips/tm-tx39.h b/gdb/config/mips/tm-tx39.h index 9e4b8a19c21..ee99a282259 100644 --- a/gdb/config/mips/tm-tx39.h +++ b/gdb/config/mips/tm-tx39.h @@ -16,7 +16,7 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#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 3d234215223..8ceec7296ea 100644 --- a/gdb/config/mips/tm-tx39l.h +++ b/gdb/config/mips/tm-tx39l.h @@ -16,7 +16,7 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#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-vr4300.h b/gdb/config/mips/tm-vr4300.h index e531f988f01..541ca44611d 100644 --- a/gdb/config/mips/tm-vr4300.h +++ b/gdb/config/mips/tm-vr4300.h @@ -16,7 +16,7 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define TARGET_MONITOR_PROMPT " " #include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-vr4300el.h b/gdb/config/mips/tm-vr4300el.h index 8fca4c534e9..75e8693dfbb 100644 --- a/gdb/config/mips/tm-vr4300el.h +++ b/gdb/config/mips/tm-vr4300el.h @@ -16,7 +16,7 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define TARGET_MONITOR_PROMPT " " #include "mips/tm-mips64.h" diff --git a/gdb/config/mips/tm-vr4320.h b/gdb/config/mips/tm-vr4320.h index a985f9a938b..8dfeebfed46 100644 --- a/gdb/config/mips/tm-vr4320.h +++ b/gdb/config/mips/tm-vr4320.h @@ -16,7 +16,7 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define TARGET_MONITOR_PROMPT " " #define TARGET_PTR_BIT 64 #define MIPS_EABI 1 diff --git a/gdb/config/mips/tm-vr4xxx.h b/gdb/config/mips/tm-vr4xxx.h index e81a4709cdc..ec5fa44fc1b 100644 --- a/gdb/config/mips/tm-vr4xxx.h +++ b/gdb/config/mips/tm-vr4xxx.h @@ -16,7 +16,7 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define MIPS_EABI 1 #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE #define TARGET_MONITOR_PROMPT " " diff --git a/gdb/config/mips/tm-vr5000.h b/gdb/config/mips/tm-vr5000.h index 23bff57da0a..b834a7762fc 100644 --- a/gdb/config/mips/tm-vr5000.h +++ b/gdb/config/mips/tm-vr5000.h @@ -16,7 +16,7 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define TARGET_MONITOR_PROMPT " " #define MIPS_EABI 1 diff --git a/gdb/config/mips/tm-vr5000el.h b/gdb/config/mips/tm-vr5000el.h index 5de282c33ea..c6897d12ee1 100644 --- a/gdb/config/mips/tm-vr5000el.h +++ b/gdb/config/mips/tm-vr5000el.h @@ -16,7 +16,7 @@ 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 TARGET_BYTE_ORDER_SELECTABLE +#define TARGET_BYTE_ORDER_SELECTABLE_P 1 #define TARGET_MONITOR_PROMPT " " #define MIPS_EABI 1 -- 2.30.2