projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
daily update
[external/binutils.git]
/
gdb
/
dwarf2read.c
diff --git
a/gdb/dwarf2read.c
b/gdb/dwarf2read.c
index
44f9c2a
..
15e168f
100644
(file)
--- a/
gdb/dwarf2read.c
+++ b/
gdb/dwarf2read.c
@@
-3502,7
+3502,7
@@
dwarf2_add_field (struct field_info *fip, struct die_info *die,
attr = dwarf2_attr (die, DW_AT_bit_offset, cu);
if (attr)
{
- if (
BITS_BIG_ENDIAN
)
+ if (
gdbarch_bits_big_endian (current_gdbarch)
)
{
/* For big endian bits, the DW_AT_bit_offset gives the
additional bit offset from the MSB of the containing