aboutsummaryrefslogtreecommitdiff
path: root/gdb/findvar.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-05 04:30:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-05 04:30:46 +0000
commitd7449b42d3ecdf244e2ba02be9aa58b503524272 (patch)
tree6be786acd69b5b5d51e1e02ea6e97cde8592824f /gdb/findvar.c
parentca4976a6949dd6f5276cd48ae593ae862a2ec684 (diff)
downloadfsf-binutils-gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.zip
fsf-binutils-gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.gz
fsf-binutils-gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.bz2
s/BIG_ENDIAN/BFD_ENDIAN_BIG/
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r--gdb/findvar.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c
index 5f5766c..c7b2a63 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -66,7 +66,7 @@ That operation is not available on integers of more than %d bytes.",
/* Start at the most significant end of the integer, and work towards
the least significant. */
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
{
p = startaddr;
/* Do the sign extension once at the start. */
@@ -101,7 +101,7 @@ That operation is not available on integers of more than %d bytes.",
/* Start at the most significant end of the integer, and work towards
the least significant. */
retval = 0;
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
{
for (p = startaddr; p < endaddr; ++p)
retval = (retval << 8) | *p;
@@ -126,7 +126,7 @@ extract_long_unsigned_integer (void *addr, int orig_len, LONGEST *pval)
int len;
len = orig_len;
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
{
for (p = (char *) addr;
len > (int) sizeof (LONGEST) && p < (char *) addr + orig_len;
@@ -210,7 +210,7 @@ store_signed_integer (void *addr, int len, LONGEST val)
/* Start at the least significant end of the integer, and work towards
the most significant. */
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
{
for (p = endaddr - 1; p >= startaddr; --p)
{
@@ -237,7 +237,7 @@ store_unsigned_integer (void *addr, int len, ULONGEST val)
/* Start at the least significant end of the integer, and work towards
the most significant. */
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
{
for (p = endaddr - 1; p >= startaddr; --p)
{
@@ -824,7 +824,7 @@ value_from_register (struct type *type, int regnum, struct frame_info *frame)
{
/* Raw and virtual formats are the same for this register. */
- if (TARGET_BYTE_ORDER == BIG_ENDIAN && len < REGISTER_RAW_SIZE (regnum))
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG && len < REGISTER_RAW_SIZE (regnum))
{
/* Big-endian, and we want less than full size. */
VALUE_OFFSET (v) = REGISTER_RAW_SIZE (regnum) - len;