diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-05-27 11:13:51 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-05-27 11:15:54 -0400 |
commit | ae090bdbf8876d4f72f357cf78301b5e8ec13751 (patch) | |
tree | 029dac3fd824c40ed0b3d8ffa440eb38b65047d0 /gdb/ser-unix.h | |
parent | af758d117e1454daebc6135cb70529b9843c3437 (diff) | |
download | binutils-ae090bdbf8876d4f72f357cf78301b5e8ec13751.zip binutils-ae090bdbf8876d4f72f357cf78301b5e8ec13751.tar.gz binutils-ae090bdbf8876d4f72f357cf78301b5e8ec13751.tar.bz2 |
Move die_type_hash to dwarf2_per_objfile
The die_type_hash field can't be shared between multiple obfiles, as it
holds `struct type` objects, which are objfile-specific. Move it from
dwarf2_per_bfd to dwarf2_per_objfile and update all references.
gdb/ChangeLog:
* dwarf2/read.h (struct dwarf2_per_bfd) <die_type_hash>: Move to
struct dwarf2_per_objfile.
(struct dwarf2_per_objfile) <die_type_hash>: Move from struct
dwarf2_per_bfd.
* dwarf2/read.c (set_die_type): Update.
(get_die_type_at_offset): Update.
Change-Id: I3589777ed3579bcabafd2ba859d27babe4502bfb
Diffstat (limited to 'gdb/ser-unix.h')
0 files changed, 0 insertions, 0 deletions