This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Use gdb_bfd_ref_ptr in target_bfd
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Fri, 4 May 2018 18:52:52 +0100
- Subject: Re: [RFA] Use gdb_bfd_ref_ptr in target_bfd
- References: <20180504173412.13030-1-tom@tromey.com>
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