aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-02-22 15:21:42 -0700
committerTom Tromey <tom@tromey.com>2018-03-08 22:00:08 -0700
commit5dc1a7047a77f86de7518a99805af64891d4e22a (patch)
treec7ba135d8453850fbfe0af19b69cd144a93c17a3 /gdb/top.c
parentfdf07f3aeba5906fec462fba33801c173862f241 (diff)
downloadgdb-5dc1a7047a77f86de7518a99805af64891d4e22a.zip
gdb-5dc1a7047a77f86de7518a99805af64891d4e22a.tar.gz
gdb-5dc1a7047a77f86de7518a99805af64891d4e22a.tar.bz2
Use scoped_fd in more places
This changes a few more places to use scoped_fd. This allows the removal of some cleanups. Regression tested by the buildbot, though note that I'm not sure whether the buildbot actually builds anything using all of these files. gdb/ChangeLog 2018-03-08 Tom Tromey <tom@tromey.com> * source.c (get_filename_and_charpos): Use scoped_fd. * nto-procfs.c (procfs_open_1): Use scoped_fd. (procfs_pidlist): Likewise. * procfs.c (proc_get_LDT_entry): Use scoped_fd. (iterate_over_mappings): Likewise.
Diffstat (limited to 'gdb/top.c')
0 files changed, 0 insertions, 0 deletions