public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/3] gdb/features: remove rx.xml from XMLTOC list
@ 2020-06-17  2:27 Simon Marchi
  2020-06-17  2:27 ` [PATCH 2/3] gdb, gdbserver: remove ARM regdat files Simon Marchi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Simon Marchi @ 2020-06-17  2:27 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

When trying to run `make` in the features directory, in a clean repo, we
get:

    Makefile:254: warning: overriding recipe for target 'rx.c'
    Makefile:250: warning: ignoring old recipe for target 'rx.c'
    make: Nothing to be done for 'all'.

The warnings come from the fact that `rx.xml` is present in two lists,
causing two `rx.c` targets to be defined.  It is ok for it to be in the
FEATURES_XMLFILES list, as this architecture uses the "feature-based"
target-descriptions.  It shouldn't be in the XMLTOC list, as this is for
architectures that define complete/static target descriptions as XML
files.

gdb/ChangeLog:

	* features/Makefile (XMLTOC): Remove rx.xml.
---
 gdb/features/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdb/features/Makefile b/gdb/features/Makefile
index cc65baa6eda..2a409dde39a 100644
--- a/gdb/features/Makefile
+++ b/gdb/features/Makefile
@@ -155,7 +155,6 @@ XMLTOC = \
 	rs6000/powerpc-vsx64.xml \
 	rs6000/powerpc-vsx64l.xml \
 	rs6000/rs6000.xml \
-	rx.xml \
 	s390-linux32.xml \
 	s390-linux32v1.xml \
 	s390-linux32v2.xml \
-- 
2.27.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-06-17 18:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17  2:27 [PATCH 1/3] gdb/features: remove rx.xml from XMLTOC list Simon Marchi
2020-06-17  2:27 ` [PATCH 2/3] gdb, gdbserver: remove ARM regdat files Simon Marchi
2020-06-17  8:06   ` Alan Hayward
2020-06-17 18:44     ` Simon Marchi
2020-06-17  2:27 ` [PATCH 3/3] gdb/regformats: remove unused regformats/reg-*.dat Simon Marchi
2020-06-17 16:01   ` Tom Tromey
2020-06-17 18:44     ` Simon Marchi
2020-06-17 15:56 ` [PATCH 1/3] gdb/features: remove rx.xml from XMLTOC list Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).