aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-12-13 23:28:46 +0000
committerAndrew Cagney <cagney@redhat.com>1998-12-13 23:28:46 +0000
commitaaa3c096db1beebb67015bc8711cf908f7f2559b (patch)
tree995a38e75405d3096a58908fdff890b60d6604bc /gdb/config
parentf14397f057f762839f030ff08d49f76e7e3117ca (diff)
downloadgdb-aaa3c096db1beebb67015bc8711cf908f7f2559b.zip
gdb-aaa3c096db1beebb67015bc8711cf908f7f2559b.tar.gz
gdb-aaa3c096db1beebb67015bc8711cf908f7f2559b.tar.bz2
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.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/mn10300/tm-mn10300.h2
-rw-r--r--gdb/config/powerpc/tm-ppcle-eabi.h4
2 files changed, 3 insertions, 3 deletions
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 */