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/dwarf2/read.c | |
parent | 886176b86503e0b2f7e569fcb96c901fc0d53d52 (diff) | |
download | gdb-3be8c91910114853a64ab87fd1efaef220bb0205.zip gdb-3be8c91910114853a64ab87fd1efaef220bb0205.tar.gz gdb-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/dwarf2/read.c')
-rw-r--r-- | gdb/dwarf2/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 79005b6..a538cb5 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -11722,7 +11722,7 @@ dwarf2_add_field (struct field_info *fip, struct die_info *die, } fp->set_loc_bitpos (fp->loc_bitpos () + anonymous_size * bits_per_byte - - bit_offset - FIELD_BITSIZE (*fp)); + - bit_offset - fp->bitsize ()); } } |