last? remaining BIG_ENDIAN switch
authorAndrew Cagney <cagney@redhat.com>
Sun, 6 Jan 2002 04:50:56 +0000 (04:50 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 6 Jan 2002 04:50:56 +0000 (04:50 +0000)
gdb/ChangeLog
gdb/rs6000-tdep.c

index 8c837149dc385c894060800f59ec9e45858c5b1e..36f340c8e8a74879154ae331ef4a0ce302b8cb24 100644 (file)
@@ -1,3 +1,8 @@
+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>.
index d8c4de66ffea8f92a75aadb2021978b5f950893b..147524d1aaccfe3826d059b183059136ecebe56d 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]);
             }