]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Introduce apply_bit_offset_to_field helper function
authorTom Tromey <tromey@adacore.com>
Fri, 18 Apr 2025 14:54:52 +0000 (08:54 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 6 May 2025 15:01:55 +0000 (09:01 -0600)
commitee580641bc5fbd5086e02cc94eb2dbc70ebb4b5d
tree60e101c2bdf5472fb92e66b509f65db253180dde
parent1d9fb3ba19c2c4daf5feb792c2abda9ad8b0c426
Introduce apply_bit_offset_to_field helper function

This patch makes a new function, apply_bit_offset_to_field, that is
used to handle the logic of DW_AT_bit_offset.  Currently there is just
a single caller, but the next patch will change this.
gdb/dwarf2/read.c
gdb/gdbtypes.c
gdb/gdbtypes.h