aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.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/ax-gdb.c
parentca4976a6949dd6f5276cd48ae593ae862a2ec684 (diff)
downloadgdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.zip
gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.gz
gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.bz2
s/BIG_ENDIAN/BFD_ENDIAN_BIG/
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r--gdb/ax-gdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index 7542454..535b150 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -1303,7 +1303,7 @@ gen_bitfield_ref (struct agent_expr *ax, struct axs_value *value,
the sign/zero extension will wipe them out.
- If we're in the interior of the word, then there is no garbage
on either end, because the ref operators zero-extend. */
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
gen_left_shift (ax, end - (offset + op_size));
else
gen_left_shift (ax, offset - start);