diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-06-08 15:26:06 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-06-08 15:26:06 -0400 |
commit | b6cdac4b80c1d32726227305e16483cef9d40e2c (patch) | |
tree | e0c9024b3fdc965e0543515761772f6e154e04cc /gdb/stabsread.c | |
parent | 5d14b6e5d6525ce462c30501644922a10f8682eb (diff) | |
download | gdb-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/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 6d581ba..bb8ab83 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -2917,7 +2917,7 @@ read_one_struct_field (struct stab_field_info *fip, const char **pp, Note that forward refs cannot be packed, and treat enums as if they had the width of ints. */ - struct type *field_type = check_typedef (FIELD_TYPE (fip->list->field)); + struct type *field_type = check_typedef (fip->list->field.type ()); if (field_type->code () != TYPE_CODE_INT && field_type->code () != TYPE_CODE_RANGE |