From 6cceac94147f6026e93dcfc0a0df03555b571a12 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 24 Jan 2019 06:43:45 -0700 Subject: Remove last cleanup from linux-namespaces.c This removes the last cleanup from linux-namespaces.c, replacing it with a use of SCOPE_EXIT. 2019-03-06 Tom Tromey * nat/linux-namespaces.c (linux_mntns_access_fs): Use SCOPE_EXIT. * common/filestuff.h (make_cleanup_close): Don't declare. * common/filestuff.c (do_close_cleanup, make_cleanup_close): Remove. --- gdb/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0dc54e7..e4f7b86 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2019-03-06 Tom Tromey + * nat/linux-namespaces.c (linux_mntns_access_fs): Use SCOPE_EXIT. + * common/filestuff.h (make_cleanup_close): Don't declare. + * common/filestuff.c (do_close_cleanup, make_cleanup_close): + Remove. + +2019-03-06 Tom Tromey + * solib-aix.c: Use make_scope_exit. 2019-03-06 Tom Tromey -- cgit v1.1