binutils-gdb/gdb/common
Gary Benson ca09583623 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.
2015-06-10 14:28:43 +01:00
..
agent.c
agent.h Make functions and variables exported by the IPA be extern "C" 2015-02-27 17:27:29 +00:00
ax.def [gdb/ax] small "setv" fix and documentation's adjustment. 2015-02-19 19:04:16 +04:00
break-common.h
btrace-common.c btrace: add struct btrace_data 2015-02-09 09:21:44 +01:00
btrace-common.h btrace: identify cpu 2015-02-09 09:49:15 +01:00
buffer.c
buffer.h
cleanups.c C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
cleanups.h
common-debug.c
common-debug.h
common-defs.h Make functions and variables exported by the IPA be extern "C" 2015-02-27 17:27:29 +00:00
common-exceptions.c Make TRY/CATCH use real C++ try/catch in C++ mode 2015-03-07 15:26:27 +00:00
common-exceptions.h Make TRY/CATCH use real C++ try/catch in C++ mode 2015-03-07 15:26:27 +00:00
common-regcache.h
common-types.h
common-utils.c
common-utils.h New common function "startswith" 2015-03-06 09:42:06 +00:00
common.host
common.m4
create-version.sh
errors.c
errors.h
fileio.c Don't assume File-I/O mode bits match the host's format 2015-06-09 13:24:46 +01:00
fileio.h Don't assume File-I/O mode bits match the host's format 2015-06-09 13:24:46 +01:00
filestuff.c Move make_cleanup_close to common code 2015-06-10 14:28:43 +01:00
filestuff.h Move make_cleanup_close to common code 2015-06-10 14:28:43 +01:00
format.c
format.h
gdb_assert.h
gdb_locale.h
gdb_setjmp.h
gdb_signals.h
gdb_vecs.c
gdb_vecs.h
gdb_wait.h
host-defs.h
mingw-strerror.c
posix-strerror.c
print-utils.c
print-utils.h
ptid.c
ptid.h
queue.h
rsp-low.c
rsp-low.h
signals.c
symbol.h
vec.c
vec.h
version.h
x86-xstate.h
xml-utils.c
xml-utils.h