Use gdb_file_up in fbsd-nat.c
authorTom Tromey <tom@tromey.com>
Thu, 27 Apr 2017 03:52:52 +0000 (21:52 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 3 Aug 2017 13:58:54 +0000 (07:58 -0600)
commit7cd06d6e89c9c17d358d8edf0b7faa9dd87edc3e
tree953845843565581454d43ae14874aec85295f7d5
parented1669453be56d71351c77377acee097aefe83b1
Use gdb_file_up in fbsd-nat.c

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.

ChangeLog
2017-08-03  Tom Tromey  <tom@tromey.com>

* fbsd-nat.c (fbsd_find_memory_regions): Update.
gdb/ChangeLog
gdb/fbsd-nat.c