]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add new computed struct value callback interface
authorZoran Zaric <Zoran.Zaric@amd.com>
Thu, 25 Feb 2021 10:53:28 +0000 (10:53 +0000)
committerZoran Zaric <zoran.zaric@amd.com>
Fri, 5 Nov 2021 11:46:38 +0000 (11:46 +0000)
commitf5f70c00d8744ca90b9978dbadf16423a92c3f6b
tree200bdd7f7ba80fa1105079a80ca4bebedde274f1
parent8b08c527590a889760aefef8ad89508196bca938
Add new computed struct value callback interface

At this point all support is there to add a new callback interface
for the computed struct value infrastructure.

Original callback interface (piece closure) is going to be removed as
soon as the switch to the new DWARF entry classes is done in the next
few patches.

gdb/ChangeLog:

        * dwarf2/expr.c (class computed_closure): New class.
        (closure_value_funcs): New closure callback structure.
        (copy_value_closure): New function.
        (free_value_closure): New function.
        (rw_closure_value): New function.
        (check_synthetic_pointer): New function.
        (write_closure_value): New function.
        (read_closure_value): New function.
        (is_optimized_out_closure_value): New function.
        (indirect_closure_value): New function.
        (coerce_closure_ref): New function.
gdb/dwarf2/expr.c