aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-03-13 18:44:04 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2017-03-13 18:44:04 -0400
commita8ebe3d5f17f12490012a1a3c69d17b6e9362805 (patch)
tree70018437ec3028cf74abefc7bc4dbdd8d22458a1 /gdb
parent50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd (diff)
downloadgdb-a8ebe3d5f17f12490012a1a3c69d17b6e9362805.zip
gdb-a8ebe3d5f17f12490012a1a3c69d17b6e9362805.tar.gz
gdb-a8ebe3d5f17f12490012a1a3c69d17b6e9362805.tar.bz2
gdbserver: Use pattern rule for IPA objects from gdbserver/
gdb/gdbserver/ChangeLog: * Makefile.in (%-ipa.o: %.c): New rule. (tracepoint-ipa.o: tracepoint.c): Remove. (utils-ipa.o: utils.c): Remove. (remote-utils-ipa.o: remote-utils.c): Remove. (regcache-ipa.o: regcache.c): Remove. (i386-linux-ipa.o: i386-linux.c): Remove. (i386-mmx-linux-ipa.o: i386-mmx-linux.c): Remove. (i386-avx-linux-ipa.o: i386-avx-linux.c): Remove. (i386-mpx-linux-ipa.o: i386-mpx-linux.c): Remove. (i386-avx-mpx-linux-ipa.o: i386-avx-mpx-linux.c): Remove. (i386-avx-avx512-linux-ipa.o: i386-avx-avx512-linux.c): Remove. (i386-avx-mpx-avx512-pku-linux-ipa.o: i386-avx-mpx-avx512-pku-linux.c): Remove. (amd64-linux-ipa.o: amd64-linux.c): Remove. (amd64-avx-linux-ipa.o: amd64-avx-linux.c): Remove. (amd64-mpx-linux-ipa.o: amd64-mpx-linux.c): Remove. (amd64-avx-mpx-linux-ipa.o: amd64-avx-mpx-linux.c): Remove. (amd64-avx-avx512-linux-ipa.o: amd64-avx-avx512-linux.c): Remove. (amd64-avx-mpx-avx512-pku-linux-ipa.o: amd64-avx-mpx-avx512-pku-linux.c): Remove. (aarch64-ipa.o: aarch64.c): Remove. (s390-linux32-ipa.o: s390-linux32.c): Remove. (s390-linux32v1-ipa.o: s390-linux32v1.c): Remove. (s390-linux32v2-ipa.o: s390-linux32v2.c): Remove. (s390-linux64-ipa.o: s390-linux64.c): Remove. (s390-linux64v1-ipa.o: s390-linux64v1.c): Remove. (s390-linux64v2-ipa.o: s390-linux64v2.c): Remove. (s390-te-linux64-ipa.o: s390-te-linux64.c): Remove. (s390-vx-linux64-ipa.o: s390-vx-linux64.c): Remove. (s390-tevx-linux64-ipa.o: s390-tevx-linux64.c): Remove. (s390x-linux64-ipa.o: s390x-linux64.c): Remove. (s390x-linux64v1-ipa.o: s390x-linux64v1.c): Remove. (s390x-linux64v2-ipa.o: s390x-linux64v2.c): Remove. (s390x-te-linux64-ipa.o: s390x-te-linux64.c): Remove. (s390x-vx-linux64-ipa.o: s390x-vx-linux64.c): Remove. (s390x-tevx-linux64-ipa.o: s390x-tevx-linux64.c): Remove. (powerpc-32l-ipa.o: powerpc-32l.c): Remove. (powerpc-altivec32l-ipa.o: powerpc-altivec32l.c): Remove. (powerpc-cell32l-ipa.o: powerpc-cell32l.c): Remove. (powerpc-vsx32l-ipa.o: powerpc-vsx32l.c): Remove. (powerpc-isa205-32l-ipa.o: powerpc-isa205-32l.c): Remove. (powerpc-isa205-altivec32l-ipa.o: powerpc-isa205-altivec32l.c): Remove. (powerpc-isa205-vsx32l-ipa.o: powerpc-isa205-vsx32l.c): Remove. (powerpc-e500l-ipa.o: powerpc-e500l.c): Remove. (powerpc-64l-ipa.o: powerpc-64l.c): Remove. (powerpc-altivec64l-ipa.o: powerpc-altivec64l.c): Remove. (powerpc-cell64l-ipa.o: powerpc-cell64l.c): Remove. (powerpc-vsx64l-ipa.o: powerpc-vsx64l.c): Remove. (powerpc-isa205-64l-ipa.o: powerpc-isa205-64l.c): Remove. (powerpc-isa205-altivec64l-ipa.o: powerpc-isa205-altivec64l.c): Remove. (powerpc-isa205-vsx64l-ipa.o: powerpc-isa205-vsx64l.c): Remove. (tdesc-ipa.o: tdesc.c): Remove. (x32-linux-ipa.o: x32-linux.c): Remove. (x32-avx-linux-ipa.o: x32-avx-linux.c): Remove. (x32-avx512-linux-ipa.o: x32-avx512-linux.c): Remove.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog56
-rw-r--r--gdb/gdbserver/Makefile.in162
2 files changed, 62 insertions, 156 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index bfad881..d871dbf 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,61 @@
2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+ * Makefile.in (%-ipa.o: %.c): New rule.
+ (tracepoint-ipa.o: tracepoint.c): Remove.
+ (utils-ipa.o: utils.c): Remove.
+ (remote-utils-ipa.o: remote-utils.c): Remove.
+ (regcache-ipa.o: regcache.c): Remove.
+ (i386-linux-ipa.o: i386-linux.c): Remove.
+ (i386-mmx-linux-ipa.o: i386-mmx-linux.c): Remove.
+ (i386-avx-linux-ipa.o: i386-avx-linux.c): Remove.
+ (i386-mpx-linux-ipa.o: i386-mpx-linux.c): Remove.
+ (i386-avx-mpx-linux-ipa.o: i386-avx-mpx-linux.c): Remove.
+ (i386-avx-avx512-linux-ipa.o: i386-avx-avx512-linux.c): Remove.
+ (i386-avx-mpx-avx512-pku-linux-ipa.o: i386-avx-mpx-avx512-pku-linux.c): Remove.
+ (amd64-linux-ipa.o: amd64-linux.c): Remove.
+ (amd64-avx-linux-ipa.o: amd64-avx-linux.c): Remove.
+ (amd64-mpx-linux-ipa.o: amd64-mpx-linux.c): Remove.
+ (amd64-avx-mpx-linux-ipa.o: amd64-avx-mpx-linux.c): Remove.
+ (amd64-avx-avx512-linux-ipa.o: amd64-avx-avx512-linux.c): Remove.
+ (amd64-avx-mpx-avx512-pku-linux-ipa.o: amd64-avx-mpx-avx512-pku-linux.c): Remove.
+ (aarch64-ipa.o: aarch64.c): Remove.
+ (s390-linux32-ipa.o: s390-linux32.c): Remove.
+ (s390-linux32v1-ipa.o: s390-linux32v1.c): Remove.
+ (s390-linux32v2-ipa.o: s390-linux32v2.c): Remove.
+ (s390-linux64-ipa.o: s390-linux64.c): Remove.
+ (s390-linux64v1-ipa.o: s390-linux64v1.c): Remove.
+ (s390-linux64v2-ipa.o: s390-linux64v2.c): Remove.
+ (s390-te-linux64-ipa.o: s390-te-linux64.c): Remove.
+ (s390-vx-linux64-ipa.o: s390-vx-linux64.c): Remove.
+ (s390-tevx-linux64-ipa.o: s390-tevx-linux64.c): Remove.
+ (s390x-linux64-ipa.o: s390x-linux64.c): Remove.
+ (s390x-linux64v1-ipa.o: s390x-linux64v1.c): Remove.
+ (s390x-linux64v2-ipa.o: s390x-linux64v2.c): Remove.
+ (s390x-te-linux64-ipa.o: s390x-te-linux64.c): Remove.
+ (s390x-vx-linux64-ipa.o: s390x-vx-linux64.c): Remove.
+ (s390x-tevx-linux64-ipa.o: s390x-tevx-linux64.c): Remove.
+ (powerpc-32l-ipa.o: powerpc-32l.c): Remove.
+ (powerpc-altivec32l-ipa.o: powerpc-altivec32l.c): Remove.
+ (powerpc-cell32l-ipa.o: powerpc-cell32l.c): Remove.
+ (powerpc-vsx32l-ipa.o: powerpc-vsx32l.c): Remove.
+ (powerpc-isa205-32l-ipa.o: powerpc-isa205-32l.c): Remove.
+ (powerpc-isa205-altivec32l-ipa.o: powerpc-isa205-altivec32l.c): Remove.
+ (powerpc-isa205-vsx32l-ipa.o: powerpc-isa205-vsx32l.c): Remove.
+ (powerpc-e500l-ipa.o: powerpc-e500l.c): Remove.
+ (powerpc-64l-ipa.o: powerpc-64l.c): Remove.
+ (powerpc-altivec64l-ipa.o: powerpc-altivec64l.c): Remove.
+ (powerpc-cell64l-ipa.o: powerpc-cell64l.c): Remove.
+ (powerpc-vsx64l-ipa.o: powerpc-vsx64l.c): Remove.
+ (powerpc-isa205-64l-ipa.o: powerpc-isa205-64l.c): Remove.
+ (powerpc-isa205-altivec64l-ipa.o: powerpc-isa205-altivec64l.c): Remove.
+ (powerpc-isa205-vsx64l-ipa.o: powerpc-isa205-vsx64l.c): Remove.
+ (tdesc-ipa.o: tdesc.c): Remove.
+ (x32-linux-ipa.o: x32-linux.c): Remove.
+ (x32-avx-linux-ipa.o: x32-avx-linux.c): Remove.
+ (x32-avx512-linux-ipa.o: x32-avx512-linux.c): Remove.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
* Makefile.in (%.o: ../arch/%.c): New rule.
(arm.o: ../arch/arm.c): Remove.
(arm-linux.o: ../arch/arm-linux.c): Remove.
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index 3baa96f..2048611 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -544,174 +544,27 @@ IPAGENT_COMPILE = $(COMPILE.pre) $(IPAGENT_CFLAGS) $(COMPILE.post)
ax-ipa.o: ax.c
$(IPAGENT_COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
$(POSTCOMPILE)
-tracepoint-ipa.o: tracepoint.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-utils-ipa.o: utils.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
format-ipa.o: ../common/format.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
common-utils-ipa.o: ../common/common-utils.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
-remote-utils-ipa.o: remote-utils.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-regcache-ipa.o: regcache.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-i386-linux-ipa.o: i386-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-i386-mmx-linux-ipa.o: i386-mmx-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-i386-avx-linux-ipa.o: i386-avx-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-i386-mpx-linux-ipa.o: i386-mpx-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-i386-avx-mpx-linux-ipa.o: i386-avx-mpx-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-i386-avx-avx512-linux-ipa.o: i386-avx-avx512-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-i386-avx-mpx-avx512-pku-linux-ipa.o: i386-avx-mpx-avx512-pku-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
linux-i386-ipa.o: linux-i386-ipa.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
linux-amd64-ipa.o: linux-amd64-ipa.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
-amd64-linux-ipa.o: amd64-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-amd64-avx-linux-ipa.o: amd64-avx-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-amd64-mpx-linux-ipa.o: amd64-mpx-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-amd64-avx-mpx-linux-ipa.o: amd64-avx-mpx-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-amd64-avx-avx512-linux-ipa.o: amd64-avx-avx512-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-amd64-avx-mpx-avx512-pku-linux-ipa.o: amd64-avx-mpx-avx512-pku-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
linux-aarch64-ipa.o: linux-aarch64-ipa.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
-aarch64-ipa.o: aarch64.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
linux-s390-ipa.o: linux-s390-ipa.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
-s390-linux32-ipa.o: s390-linux32.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390-linux32v1-ipa.o: s390-linux32v1.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390-linux32v2-ipa.o: s390-linux32v2.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390-linux64-ipa.o: s390-linux64.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390-linux64v1-ipa.o: s390-linux64v1.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390-linux64v2-ipa.o: s390-linux64v2.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390-te-linux64-ipa.o: s390-te-linux64.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390-vx-linux64-ipa.o: s390-vx-linux64.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390-tevx-linux64-ipa.o: s390-tevx-linux64.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390x-linux64-ipa.o: s390x-linux64.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390x-linux64v1-ipa.o: s390x-linux64v1.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390x-linux64v2-ipa.o: s390x-linux64v2.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390x-te-linux64-ipa.o: s390x-te-linux64.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390x-vx-linux64-ipa.o: s390x-vx-linux64.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-s390x-tevx-linux64-ipa.o: s390x-tevx-linux64.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
linux-ppc-ipa.o: linux-ppc-ipa.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
-powerpc-32l-ipa.o: powerpc-32l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-altivec32l-ipa.o: powerpc-altivec32l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-cell32l-ipa.o: powerpc-cell32l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-vsx32l-ipa.o: powerpc-vsx32l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-isa205-32l-ipa.o: powerpc-isa205-32l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-isa205-altivec32l-ipa.o: powerpc-isa205-altivec32l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-isa205-vsx32l-ipa.o: powerpc-isa205-vsx32l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-e500l-ipa.o: powerpc-e500l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-64l-ipa.o: powerpc-64l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-altivec64l-ipa.o: powerpc-altivec64l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-cell64l-ipa.o: powerpc-cell64l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-vsx64l-ipa.o: powerpc-vsx64l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-isa205-64l-ipa.o: powerpc-isa205-64l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-isa205-altivec64l-ipa.o: powerpc-isa205-altivec64l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-powerpc-isa205-vsx64l-ipa.o: powerpc-isa205-vsx64l.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-tdesc-ipa.o: tdesc.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
print-utils-ipa.o: ../common/print-utils.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
@@ -721,20 +574,17 @@ rsp-low-ipa.o: ../common/rsp-low.c
errors-ipa.o: ../common/errors.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
-x32-linux-ipa.o: x32-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-x32-avx-linux-ipa.o: x32-avx-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
-x32-avx512-linux-ipa.o: x32-avx512-linux.c
- $(IPAGENT_COMPILE) $<
- $(POSTCOMPILE)
ax.o: ax.c
$(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
$(POSTCOMPILE)
+# Rules for objects that go in the in-process agent.
+
+%-ipa.o: %.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+
# Rules for objects that go in the gdbserver binary.
%.o: %.c