OSDN Git Service

last? remaining BIG_ENDIAN switch
authorcagney <cagney>
Sun, 6 Jan 2002 04:50:55 +0000 (04:50 +0000)
committercagney <cagney>
Sun, 6 Jan 2002 04:50:55 +0000 (04:50 +0000)
gdb/ChangeLog
gdb/rs6000-tdep.c

index 8c83714..36f340c 100644 (file)
@@ -1,5 +1,10 @@
 2002-01-05  Andrew Cagney  <ac131313@redhat.com>
 
+       * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
+       with BFD_ENDIAN_BIG.
+
+2002-01-05  Andrew Cagney  <ac131313@redhat.com>
+
        * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
        * configure, config.in: Re-generate.
        * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
index d8c4de6..147524d 100644 (file)
@@ -1774,7 +1774,7 @@ rs6000_do_registers_info (int regnum, int fpregs)
           printf_filtered ("\t(raw 0x");
           for (j = 0; j < REGISTER_RAW_SIZE (i); j++)
             {
-              register int idx = TARGET_BYTE_ORDER == BIG_ENDIAN ? j
+              register int idx = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG ? j
                : REGISTER_RAW_SIZE (i) - 1 - j;
               printf_filtered ("%02x", (unsigned char) raw_buffer[idx]);
             }