From aaa3c096db1beebb67015bc8711cf908f7f2559b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 13 Dec 1998 23:28:46 +0000 Subject: CARP: Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE, TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P, TARGET_BYTE_ORDER so that they can all be overriden. Document. Convert mn10300 and PPC targets. --- gdb/config/mn10300/tm-mn10300.h | 2 +- gdb/config/powerpc/tm-ppcle-eabi.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index 769924c..b772323 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -20,7 +20,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* The mn10300 is little endian. */ -#define TARGET_BYTE_ORDER LITTLE_ENDIAN +#define TARGET_BYTE_ORDER_DEFAULT LITTLE_ENDIAN /* All registers are 32bits (phew!). */ #define REGISTER_SIZE 4 diff --git a/gdb/config/powerpc/tm-ppcle-eabi.h b/gdb/config/powerpc/tm-ppcle-eabi.h index 309dd6f..355195d 100644 --- a/gdb/config/powerpc/tm-ppcle-eabi.h +++ b/gdb/config/powerpc/tm-ppcle-eabi.h @@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Use normal ppc-eabi definitions */ #include "powerpc/tm-ppc-eabi.h" -#undef TARGET_BYTE_ORDER -#define TARGET_BYTE_ORDER LITTLE_ENDIAN +#undef TARGET_BYTE_ORDER_DEFAULT +#define TARGET_BYTE_ORDER_DEFAULT LITTLE_ENDIAN #endif /* TM_PPCLE_EABI_H */ -- cgit v1.1