diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-08-31 11:46:26 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-08-31 13:16:14 -0400 |
commit | 3be8c91910114853a64ab87fd1efaef220bb0205 (patch) | |
tree | 9028f14b2625d12593d2f5d62cef7b20c1eaaf3d /gdb/gdbtypes.c | |
parent | 886176b86503e0b2f7e569fcb96c901fc0d53d52 (diff) | |
download | binutils-3be8c91910114853a64ab87fd1efaef220bb0205.zip binutils-3be8c91910114853a64ab87fd1efaef220bb0205.tar.gz binutils-3be8c91910114853a64ab87fd1efaef220bb0205.tar.bz2 |
gdb: remove FIELD_BITSIZE
Replace with field::bitsize.
Change-Id: I400be235d6a1f446d0a4aafac01df5e850185d3a
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r-- | gdb/gdbtypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 43c09f8..cd6b191 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -4244,7 +4244,7 @@ check_types_equal (struct type *type1, struct type *type2, const struct field *field2 = &type2->field (i); if (field1->is_artificial () != field2->is_artificial () - || FIELD_BITSIZE (*field1) != FIELD_BITSIZE (*field2) + || field1->bitsize () != field2->bitsize () || field1->loc_kind () != field2->loc_kind ()) return false; if (!compare_maybe_null_strings (field1->name (), field2->name ())) |