Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@efficios.com>
To: gdb-patches@sourceware.org
Cc: Simon Marchi <simon.marchi@efficios.com>
Subject: [PATCH 1/2] gdb: remove redundant rm in local-maintainer-clean
Date: Thu, 20 Aug 2026 14:20:23 -0400	[thread overview]
Message-ID: <20260820182026.745719-1-simon.marchi@efficios.com> (raw)

The local-maintainer-clean target removes a hardcoded list of
parser-generator output files, and then removes $(YYFILES) two lines
below.  $(YYFILES) contains the same list of files, so the first rm is
redundant.  Remove it.

Change-Id: I14d27930953e33d54010d964cb4bb7db4e8323a0
---
 gdb/Makefile.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 57f384170abf..0457ad7926da 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2441,10 +2441,6 @@ realclean: maintainer-clean
 local-maintainer-clean:
 	@echo "This command is intended for maintainers to use;"
 	@echo "it deletes files that may require special tools to rebuild."
-	rm -f c-exp.c \
-		cp-name-parser.c \
-		ada-lex.c ada-exp.c \
-		d-exp.c f-exp.c go-exp.c m2-exp.c p-exp.c
 	rm -f TAGS
 	rm -f $(YYFILES)
 	rm -f nm.h config.status

base-commit: d2102b0d6a95ba3b37204976fb3f6ebd935822fb
-- 
2.55.0


             reply	other threads:[~2026-08-20 18:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-20 18:20 Simon Marchi [this message]
2026-08-20 18:20 ` [PATCH 2/2] gdb: remove stale entries from gdb/.gitignore Simon Marchi
2026-08-20 21:08   ` Kevin Buettner
2026-08-20 21:07 ` [PATCH 1/2] gdb: remove redundant rm in local-maintainer-clean Kevin Buettner
2026-08-20 21:50   ` Simon Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260820182026.745719-1-simon.marchi@efficios.com \
    --to=simon.marchi@efficios.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox