diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-08-31 11:46:27 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-08-31 13:16:14 -0400 |
commit | 3757d2d44f63b446469723e0a7a8c0dc2f695a6c (patch) | |
tree | d649580e7a3b2b92ab132bd623443695bcfc0bc0 /gdb/compile/compile-object-load.c | |
parent | 3be8c91910114853a64ab87fd1efaef220bb0205 (diff) | |
download | gdb-3757d2d44f63b446469723e0a7a8c0dc2f695a6c.zip gdb-3757d2d44f63b446469723e0a7a8c0dc2f695a6c.tar.gz gdb-3757d2d44f63b446469723e0a7a8c0dc2f695a6c.tar.bz2 |
gdb: remove TYPE_FIELD_BITSIZE
Replace with type::field + field::bitsize.
Change-Id: I2a24755a33683e4a2775a6d2a7b7a9ae7362e43a
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/compile/compile-object-load.c')
-rw-r--r-- | gdb/compile/compile-object-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c index 07cbbed..013b6a9 100644 --- a/gdb/compile/compile-object-load.c +++ b/gdb/compile/compile-object-load.c @@ -553,7 +553,7 @@ store_regs (struct type *regs_type, CORE_ADDR regs_base) { const char *reg_name = regs_type->field (fieldno).name (); ULONGEST reg_bitpos = regs_type->field (fieldno).loc_bitpos (); - ULONGEST reg_bitsize = TYPE_FIELD_BITSIZE (regs_type, fieldno); + ULONGEST reg_bitsize = regs_type->field (fieldno).bitsize (); ULONGEST reg_offset; struct type *reg_type = check_typedef (regs_type->field (fieldno).type ()); |