aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2015-06-10 14:28:43 +0100
committerGary Benson <gbenson@redhat.com>2015-06-10 14:28:43 +0100
commitca09583623ab77362186a9fd1ae260c38dcab470 (patch)
tree17f292e5f5d0ff93490f5b5ebbd2da663520d672 /gdb/ChangeLog
parent5d9c55d355c8e5c688caa3fe43c0d95d538daf35 (diff)
downloadfsf-binutils-gdb-ca09583623ab77362186a9fd1ae260c38dcab470.zip
fsf-binutils-gdb-ca09583623ab77362186a9fd1ae260c38dcab470.tar.gz
fsf-binutils-gdb-ca09583623ab77362186a9fd1ae260c38dcab470.tar.bz2
Move make_cleanup_close to common code
This commit moves the function make_cleanup_close from gdb/utils.[ch] to gdb/common/filestuff.[ch] to make it usable from common code. gdb/ChangeLog: * utils.h (make_cleanup_close): Moved to common/filestuff.h. * utils.c (do_close_cleanup): Moved to common/filestuff.c. (make_cleanup_close): Likewise. * common/filestuff.h (make_cleanup_close): Moved from utils.h. * common/filestuff.c (do_close_cleanup): Moved from utils.c. (make_cleanup_close): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c9f527c..d6ef5c1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,12 @@
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
+ * utils.h (make_cleanup_close): Moved to common/filestuff.h.
+ * utils.c (do_close_cleanup): Moved to common/filestuff.c.
+ (make_cleanup_close): Likewise.
+ * common/filestuff.h (make_cleanup_close): Moved from utils.h.
+ * common/filestuff.c (do_close_cleanup): Moved from utils.c.
+ (make_cleanup_close): Likewise.
+
2015-06-03 Jon Turney <jon.turney@dronecode.org.uk>
* windows-nat.c (thread_rec): Also ignore ERROR_INVALID_HANDLE