diff options
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 6d4c9d0..fcdd304 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -9109,7 +9109,7 @@ arm_return_in_memory (struct gdbarch *gdbarch, struct type *type) /* Bitfields are not addressable. If the field bitsize is zero, then the field is not packed. Hence it cannot be a bitfield or any other packed type. */ - if (TYPE_FIELD_BITSIZE (type, i) == 0) + if (type->field (i).bitsize () == 0) { nRc = 1; break; |