aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-08-04 11:37:44 +0100
committerGary Benson <gbenson@redhat.com>2014-08-29 10:53:35 +0100
commite31806255fe0cf49a1eeb14a51788473eaaa6310 (patch)
tree051e697f08c61a603d71b0a89af7b6dccef53e3f /gdb/gdbserver
parente3d6ba5d322d871004e84b936e6509749a350325 (diff)
downloadgdb-e31806255fe0cf49a1eeb14a51788473eaaa6310.zip
gdb-e31806255fe0cf49a1eeb14a51788473eaaa6310.tar.gz
gdb-e31806255fe0cf49a1eeb14a51788473eaaa6310.tar.bz2
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.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog6
-rw-r--r--gdb/gdbserver/Makefile.in7
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 56ef86c..76afb0d 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,11 @@
2014-08-29 Gary Benson <gbenson@redhat.com>
+ * Makefile.in (SFILES): Add common/cleanups.c.
+ (OBS): cleanups.o.
+ (cleanups.o): New rule.
+
+2014-08-29 Gary Benson <gbenson@redhat.com>
+
* utils.c (internal_vwarning): New function.
2014-08-28 Gary Benson <gbenson@redhat.com>
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index 18486c6..f130082 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -170,7 +170,7 @@ SFILES= $(srcdir)/gdbreplay.c $(srcdir)/inferiors.c $(srcdir)/dll.c \
$(srcdir)/common/filestuff.c $(srcdir)/target/waitstatus.c \
$(srcdir)/nat/mips-linux-watch.c $(srcdir)/common/print-utils.c \
$(srcdir)/common/rsp-low.c $(srcdir)/common/errors.c \
- $(srcdir)/common/common-debug.c
+ $(srcdir)/common/common-debug.c $(srcdir)/common/cleanups.c
DEPFILES = @GDBSERVER_DEPFILES@
@@ -183,7 +183,7 @@ OBS = agent.o ax.o inferiors.o regcache.o remote-utils.o server.o signals.o \
target.o waitstatus.o utils.o debug.o version.o vec.o gdb_vecs.o \
mem-break.o hostio.o event-loop.o tracepoint.o xml-utils.o \
common-utils.o ptid.o buffer.o format.o filestuff.o dll.o notif.o \
- tdesc.o print-utils.o rsp-low.o errors.o common-debug.o \
+ tdesc.o print-utils.o rsp-low.o errors.o common-debug.o cleanups.o \
$(XML_BUILTIN) $(DEPFILES) $(LIBOBJS)
GDBREPLAY_OBS = gdbreplay.o version.o
GDBSERVER_LIBS = @GDBSERVER_LIBS@
@@ -544,6 +544,9 @@ errors.o: ../common/errors.c
common-debug.o: ../common/common-debug.c
$(COMPILE) $<
$(POSTCOMPILE)
+cleanups.o: ../common/cleanups.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
waitstatus.o: ../target/waitstatus.c
$(COMPILE) $<
$(POSTCOMPILE)