]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add resolve_dynamic_field
authorTom Tromey <tromey@adacore.com>
Wed, 16 Apr 2025 20:58:06 +0000 (14:58 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 6 May 2025 15:01:54 +0000 (09:01 -0600)
commit800f6f5f700587de5a4175df4aa974dabf5974d7
tree67da71bb1591eb46c4d28f1f812f0ff3fb6d0513
parentb4b312d152318e9d56066074d19d5029cb97914f
Add resolve_dynamic_field

The final patch in this series will change one dynamic property
approach to use a struct field rather than an offset and a field type.
This is convenient because the reference in DWARF is indeed to a field
-- and this approach lets us reuse the field-extraction logic that
already exists in gdb.

However, the field in question may have dynamic properties which must
be resolved before it can be used.  This patch prepares for this by
introducing a separate resolve_dynamic_field function.

This patch should cause no visible changes to behavior.
gdb/gdbtypes.c
gdb/gdbtypes.h