Move cleanups.[ch] to common
authorGary Benson <gbenson@redhat.com>
Mon, 4 Aug 2014 10:37:44 +0000 (11:37 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 29 Aug 2014 09:53:35 +0000 (10:53 +0100)
commite31806255fe0cf49a1eeb14a51788473eaaa6310
tree051e697f08c61a603d71b0a89af7b6dccef53e3f
parente3d6ba5d322d871004e84b936e6509749a350325
Move cleanups.[ch] to common

This commit moves cleanups.[ch] into gdb/common/.  The only change to
the content of the files is that cleanups.c's include list was altered
to match its new location.

gdb/ChangeLog:

* cleanups.h: Moved to...
* common/cleanups.h: New file.
* cleanups.c: Moved to...
* common/cleanups.c: New file.  Include common-defs.h and
cleanups.h.  Do not include defs.h.
* Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
(HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
(cleanups.o): New rule.

gdb/gdbserver/ChangeLog:

* Makefile.in (SFILES): Add common/cleanups.c.
(OBS): cleanups.o.
(cleanups.o): New rule.
gdb/ChangeLog
gdb/Makefile.in
gdb/cleanups.c [deleted file]
gdb/cleanups.h [deleted file]
gdb/common/cleanups.c [new file with mode: 0644]
gdb/common/cleanups.h [new file with mode: 0644]
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in