aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-06-08 15:26:06 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-06-08 15:26:06 -0400
commitb6cdac4b80c1d32726227305e16483cef9d40e2c (patch)
treee0c9024b3fdc965e0543515761772f6e154e04cc /gdb/s390-tdep.c
parent5d14b6e5d6525ce462c30501644922a10f8682eb (diff)
downloadgdb-b6cdac4b80c1d32726227305e16483cef9d40e2c.zip
gdb-b6cdac4b80c1d32726227305e16483cef9d40e2c.tar.gz
gdb-b6cdac4b80c1d32726227305e16483cef9d40e2c.tar.bz2
gdb: remove FIELD_TYPE macro
Remove the `FIELD_TYPE` macro, changing all the call sites to use `field::type` directly. gdb/ChangeLog: * gdbtypes.h (FIELD_TYPE): Remove. Change all call sites to use field::type instead. Change-Id: I7673fedaa276e485189c87991a9043495da22ef5
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r--gdb/s390-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index a7f71f8..0ee7a37 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -1652,7 +1652,7 @@ s390_effective_inner_type (struct type *type, unsigned int min_size)
continue;
if (inner != NULL)
return type;
- inner = FIELD_TYPE (f);
+ inner = f.type ();
}
if (inner == NULL)