commit | fb1eb2f94a62813ab3daa34da59c035717ffb9da | [log] [tgz] |
---|---|---|
author | Simon Marchi <simon.marchi@polymtl.ca> | Fri Jun 21 14:10:57 2019 -0400 |
committer | Simon Marchi <simon.marchi@efficios.com> | Fri Jun 21 14:11:13 2019 -0400 |
tree | 56fad8e196e3e57f5f773d5a6e035676806f748c | |
parent | 51ac9db596ea9f0affa9f7db25bb179cf70beac4 [diff] |
dwarf2read: Make dwo_file::dbfd a gdb_bfd_ref_ptr This removes the manual call to gdb_bfd_ref in favor of gdb_bfd_ref_ptr. gdb/ChangeLog: * dwarf2read.c (struct dwo_file) <dbfd>: Change type to gdb_bfd_ref_ptr. <~dwo_file>: Remove call to gdb_bfd_unref. (open_and_init_dwo_file): Move gdb_bfd_ref_ptr into dbfd field. Call gdb_bfd_ref_ptr::get.