diff options
author | John Baldwin <jhb@FreeBSD.org> | 2017-08-09 15:24:46 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2017-08-09 15:24:46 -0700 |
commit | e8c6b620f70d8cced4a93d8857ad2a57f08a361a (patch) | |
tree | 3b1927ec3bdd654a22c0eaead9f64eaa8ad91c9f /ld/pe-dll.c | |
parent | e4a26669b914a1a1d519325b3bddf4bfe5078ea8 (diff) | |
download | gdb-e8c6b620f70d8cced4a93d8857ad2a57f08a361a.zip gdb-e8c6b620f70d8cced4a93d8857ad2a57f08a361a.tar.gz gdb-e8c6b620f70d8cced4a93d8857ad2a57f08a361a.tar.bz2 |
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.
Diffstat (limited to 'ld/pe-dll.c')
0 files changed, 0 insertions, 0 deletions