This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Use gdb_bfd_ref_ptr in target_bfd


On 05/04/2018 06:34 PM, Tom Tromey wrote:
> I noticed that target_bfd was using manual reference counting for the
> BFD it held.  This patch changes it to use gdb_bfd_ref_ptr instead.
> 
> Tested by the buildbot.
> 
> ChangeLog
> 2018-05-04  Tom Tromey  <tom@tromey.com>
> 
> 	* bfd-target.c (target_bfd::m_bfd): Now a gdb_bfd_ref_ptr.
> 	(target_bfd::target_bfd, target_bfd::~target_bfd): Update.

OK.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]