diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-05 04:30:46 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-05 04:30:46 +0000 |
commit | d7449b42d3ecdf244e2ba02be9aa58b503524272 (patch) | |
tree | 6be786acd69b5b5d51e1e02ea6e97cde8592824f /gdb/valprint.c | |
parent | ca4976a6949dd6f5276cd48ae593ae862a2ec684 (diff) | |
download | gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.zip gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.gz gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.bz2 |
s/BIG_ENDIAN/BFD_ENDIAN_BIG/
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r-- | gdb/valprint.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c index ad6a992..45acdc7 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -618,7 +618,7 @@ print_binary_chars (struct ui_file *stream, unsigned char *valaddr, /* FIXME: We should be not printing leading zeroes in most cases. */ fprintf_filtered (stream, local_binary_format_prefix ()); - if (TARGET_BYTE_ORDER == BIG_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) { for (p = valaddr; p < valaddr + len; @@ -705,7 +705,7 @@ print_octal_chars (struct ui_file *stream, unsigned char *valaddr, unsigned len) carry = 0; fprintf_filtered (stream, local_octal_format_prefix ()); - if (TARGET_BYTE_ORDER == BIG_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) { for (p = valaddr; p < valaddr + len; @@ -819,11 +819,11 @@ print_decimal_chars (struct ui_file *stream, unsigned char *valaddr, #define CARRY_LEFT( x ) ((x) % TEN) #define SHIFT( x ) ((x) << 4) #define START_P \ - ((TARGET_BYTE_ORDER == BIG_ENDIAN) ? valaddr : valaddr + len - 1) + ((TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) ? valaddr : valaddr + len - 1) #define NOT_END_P \ - ((TARGET_BYTE_ORDER == BIG_ENDIAN) ? (p < valaddr + len) : (p >= valaddr)) + ((TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) ? (p < valaddr + len) : (p >= valaddr)) #define NEXT_P \ - ((TARGET_BYTE_ORDER == BIG_ENDIAN) ? p++ : p-- ) + ((TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) ? p++ : p-- ) #define LOW_NIBBLE( x ) ( (x) & 0x00F) #define HIGH_NIBBLE( x ) (((x) & 0x0F0) >> 4) @@ -956,7 +956,7 @@ print_hex_chars (struct ui_file *stream, unsigned char *valaddr, unsigned len) /* FIXME: We should be not printing leading zeroes in most cases. */ fprintf_filtered (stream, local_hex_format_prefix ()); - if (TARGET_BYTE_ORDER == BIG_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) { for (p = valaddr; p < valaddr + len; |