This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Make "cbfd" a gdb_bfd_ref_ptr
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 05 Jul 2018 02:10:10 -0400
- Subject: [binutils-gdb] Make "cbfd" a gdb_bfd_ref_ptr
*** TEST RESULTS FOR COMMIT 06333fea767dc1eaf88ac286293fcbaa0ef2de9e ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 06333fea767dc1eaf88ac286293fcbaa0ef2de9e
Make "cbfd" a gdb_bfd_ref_ptr
This changes program_space::cbfd to be a gdb_bfd_ref_ptr. This makes
it somewhat less error-prone to use, because now it manages the
reference counting automatically.
Tested by the buildbot.
2018-05-16 Tom Tromey <tom@tromey.com>
* gdbcore.h (core_bfd): Redefine.
* corelow.c (core_target::close): Update.
(core_target_open): Update.
* progspace.h (struct program_space) <cbfd>: Now a
gdb_bfd_ref_ptr.