[binutils-gdb] Remove do_closedir_cleanup
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Fri May 4 20:13:00 GMT 2018
*** TEST RESULTS FOR COMMIT f0b3976bdcd29e308bed185630a24806037a717c ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: f0b3976bdcd29e308bed185630a24806037a717c
Remove do_closedir_cleanup
This removes both copies of do_closedir_cleanup in favor of a new
unique_ptr specialization.
Tested by the buildbot, though I'm not sure that these code paths are
exercised there.
ChangeLog
2018-05-04 Tom Tromey <tom@tromey.com>
* nto-procfs.c (do_closedir_cleanup): Remove.
(procfs_pidlist): Use gdb_dir_up.
* procfs.c (do_closedir_cleanup): Remove.
(proc_update_threads): Use gdb_dir_up.
* common/filestuff.h (struct gdb_dir_deleter): New.
(gdb_dir_up): New typedef.
More information about the Gdb-testers
mailing list