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 f0b6220945..e886ac2b56 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 0669c26896..271ceb0b36 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 3d49d4ddf9..8b255a5a32 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 4a4aa75b8f..7bf1759770 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 63296bb6c3..df90f58fa9 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 361c9f9282..23abcd9db8 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 112ddd4fa3..c7dca19532 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 bbc4e2bb13..ffa5bd4c52 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 9e4b8a19c2..ee99a28225 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 3d23421522..8ceec7296e 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 e531f988f0..541ca44611 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 8fca4c534e..75e8693dfb 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 a985f9a938..8dfeebfed4 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 e81a4709cd..ec5fa44fc1 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 23bff57da0..b834a7762f 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 5de282c33e..c6897d12ee 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