This is the mail archive of the
mailing list for the GDB project.
Re: [RFA 04/23] Use gdb_file_up in fbsd-nat.c
On Wednesday, May 03, 2017 04:46:07 PM Tom Tromey wrote:
> This updates fbsd-nat.c to use gdb_file_up. This removes a use of a
> cleanup, and helps remove make_cleanup_fclose in a later patch.
> I have no way to test this patch.
This looks fine to me. On the other hand, it's also not used on most
modern versions of FreeBSD (so I don't have a good way to test it either).
The new interface using sysctl has been available since FreeBSD 7.1
(released in January of 2009).