This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Replace home-grown linked-lists in FreeBSD's native target with STL lists.
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 09 Aug 2017 20:03:28 -0400
- Subject: [binutils-gdb] Replace home-grown linked-lists in FreeBSD's native target with STL lists.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT e8c6b620f70d8cced4a93d8857ad2a57f08a361a ***
Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: e8c6b620f70d8cced4a93d8857ad2a57f08a361a
Replace home-grown linked-lists in FreeBSD's native target with STL lists.
FreeBSD's native target uses linked-lists to keep track of pending fork
events and fake vfork done events. Replace the first list with std::list
and the second with std::forward_list.
gdb/ChangeLog:
* fbsd-nat.c (struct fbsd_fork_info): Remove.
(fbsd_pending_children): Use std::list.
(fbsd_remember_child): Likewise.
(fbsd_is_child_pending): Likewise.
(fbsd_pending_vfork_done): Use std::forward_list.
(fbsd_add_vfork_done): Likewise.
(fbsd_is_vfork_done_pending): Likewise.
(fbsd_next_vfork_done): Likewise.