diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-24 06:43:45 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-03-06 16:04:31 -0700 |
commit | 6cceac94147f6026e93dcfc0a0df03555b571a12 (patch) | |
tree | ae45737eb987a1c699bc1d05ae7c4366b821c716 /gdb/ChangeLog | |
parent | 724127627fef458ed330d027cf0b3d17580af615 (diff) | |
download | gdb-6cceac94147f6026e93dcfc0a0df03555b571a12.zip gdb-6cceac94147f6026e93dcfc0a0df03555b571a12.tar.gz gdb-6cceac94147f6026e93dcfc0a0df03555b571a12.tar.bz2 |
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 <tom@tromey.com>
* 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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
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 <tom@tromey.com> + * 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 <tom@tromey.com> + * solib-aix.c: Use make_scope_exit. 2019-03-06 Tom Tromey <tom@tromey.com> |