[pushed] gdb/regformats: Don't build .dat files that aren't used by GDBserver

Message ID 1412158602-3678-1-git-send-email-palves@redhat.com
State Committed
Headers

Commit Message

Pedro Alves Oct. 1, 2014, 10:16 a.m. UTC
  The only reason .dat files exist is for GBBserver to use them in its
build system.

A few .dat files are listed as targets for generation that shouldn't.
The target descriptions these files are built from aren't used by
GDBserver.  They're fallback descriptions GDB itself has baked in.

Remove them from the list of .dat files to be generated, otherwise a
plain "make" under src/gdb/features/ generates new .dat files that
aren't even in the tree today.

gdb/
2014-10-01  Pedro Alves  <palves@redhat.com>

	* features/Makefile (WHICH): Remove arm-with-m,
	arm-with-m-fpa-layout and arm-with-m-vfp-d16.
---
 gdb/ChangeLog         | 5 +++++
 gdb/features/Makefile | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c40ab1b..4ef9c7f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@ 
 2014-10-01  Pedro Alves  <palves@redhat.com>
 
+	* features/Makefile (WHICH): Remove arm-with-m,
+	arm-with-m-fpa-layout and arm-with-m-vfp-d16.
+
+2014-10-01  Pedro Alves  <palves@redhat.com>
+
 	* features/Makefile (clean): New rule.
 
 2014-10-01  Pedro Alves  <palves@redhat.com>
diff --git a/gdb/features/Makefile b/gdb/features/Makefile
index f30fc13..f967e4c 100644
--- a/gdb/features/Makefile
+++ b/gdb/features/Makefile
@@ -32,7 +32,6 @@ 
 
 WHICH = aarch64 \
 	arm-with-iwmmxt arm-with-vfpv2 arm-with-vfpv3 arm-with-neon \
-	arm-with-m arm-with-m-fpa-layout arm-with-m-vfp-d16 \
 	i386/i386 i386/i386-linux \
 	i386/i386-mmx i386/i386-mmx-linux \
 	i386/amd64 i386/amd64-linux \