From 3757d2d44f63b446469723e0a7a8c0dc2f695a6c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 31 Aug 2023 11:46:27 -0400 Subject: gdb: remove TYPE_FIELD_BITSIZE Replace with type::field + field::bitsize. Change-Id: I2a24755a33683e4a2775a6d2a7b7a9ae7362e43a Approved-By: Tom Tromey --- gdb/arm-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/arm-tdep.c') 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; -- cgit v1.1