Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH] [gdb/build] Rename gdb/gdb-gdb.gdb.in to gdb/gdb-gdb.gdb
Date: Wed,  2 Sep 2026 17:14:53 +0200	[thread overview]
Message-ID: <20260902151453.3903082-1-tdevries@suse.de> (raw)

Similar to commit 839a4fed68a ("[gdb/build] Rename gdb/gdb-gdb.py.in to
gdb/gdb-gdb.py"), rename gdb/gdb-gdb.gdb.in to gdb/gdb-gdb.gdb.
---
 gdb/.gitattributes                  | 2 +-
 gdb/Makefile.in                     | 3 ---
 gdb/configure                       | 6 ++++--
 gdb/configure.ac                    | 3 ++-
 gdb/{gdb-gdb.gdb.in => gdb-gdb.gdb} | 0
 5 files changed, 7 insertions(+), 7 deletions(-)
 rename gdb/{gdb-gdb.gdb.in => gdb-gdb.gdb} (100%)

diff --git a/gdb/.gitattributes b/gdb/.gitattributes
index 9cb0318dca8..5d22d1a040c 100644
--- a/gdb/.gitattributes
+++ b/gdb/.gitattributes
@@ -26,4 +26,4 @@ po/gdbtext  whitespace=space-before-tab,indent-with-non-tab,trailing-space
 exc_request.defs -whitespace
 
 # Files with significant trailing whitespace.
-gdb-gdb.gdb.in  whitespace=space-before-tab,indent-with-non-tab,-trailing-space
+gdb-gdb.gdb  whitespace=space-before-tab,indent-with-non-tab,-trailing-space
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c6bfc2949fc..092b7ca276a 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2490,9 +2490,6 @@ gstack gcore gdb-add-index: % : %.in version.c
 	sed -e "s,@VERSION@,$$vv," $< > $@
 	@chmod +x $@
 
-gdb-gdb.gdb: $(srcdir)/gdb-gdb.gdb.in config.status
-	$(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) $@
-
 config.h: stamp-h ; @true
 stamp-h: $(srcdir)/config.in config.status
 	$(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) config.h
diff --git a/gdb/configure b/gdb/configure
index 7dc7781cb09..f227e88c8c7 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -33716,10 +33716,12 @@ ac_config_files="$ac_config_files gstack.in:gstack-1.in"
 
 ac_config_files="$ac_config_files gdb-add-index.in:contrib/gdb-add-index.sh"
 
-ac_config_files="$ac_config_files Makefile gdb-gdb.gdb doc/Makefile data-directory/Makefile"
+ac_config_files="$ac_config_files Makefile doc/Makefile data-directory/Makefile"
 
 ac_config_links="$ac_config_links gdb-gdb.py:gdb-gdb.py"
 
+ac_config_links="$ac_config_links gdb-gdb.gdb:gdb-gdb.gdb"
+
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -34817,10 +34819,10 @@ do
     "gstack.in") CONFIG_FILES="$CONFIG_FILES gstack.in:gstack-1.in" ;;
     "gdb-add-index.in") CONFIG_FILES="$CONFIG_FILES gdb-add-index.in:contrib/gdb-add-index.sh" ;;
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-    "gdb-gdb.gdb") CONFIG_FILES="$CONFIG_FILES gdb-gdb.gdb" ;;
     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
     "data-directory/Makefile") CONFIG_FILES="$CONFIG_FILES data-directory/Makefile" ;;
     "gdb-gdb.py") CONFIG_LINKS="$CONFIG_LINKS gdb-gdb.py:gdb-gdb.py" ;;
+    "gdb-gdb.gdb") CONFIG_LINKS="$CONFIG_LINKS gdb-gdb.gdb:gdb-gdb.gdb" ;;
 
   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   esac
diff --git a/gdb/configure.ac b/gdb/configure.ac
index c70aa30fc96..d2baac7f7a7 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -2404,7 +2404,8 @@ GDB_AC_TRANSFORM([gcore], [GCORE_TRANSFORM_NAME])
 AC_CONFIG_FILES([gcore.in:gcore-1.in])
 AC_CONFIG_FILES([gstack.in:gstack-1.in])
 AC_CONFIG_FILES([gdb-add-index.in:contrib/gdb-add-index.sh])
-AC_CONFIG_FILES([Makefile gdb-gdb.gdb doc/Makefile data-directory/Makefile])
+AC_CONFIG_FILES([Makefile doc/Makefile data-directory/Makefile])
 AC_CONFIG_LINKS([gdb-gdb.py:gdb-gdb.py])
+AC_CONFIG_LINKS([gdb-gdb.gdb:gdb-gdb.gdb])
 
 AC_OUTPUT
diff --git a/gdb/gdb-gdb.gdb.in b/gdb/gdb-gdb.gdb
similarity index 100%
rename from gdb/gdb-gdb.gdb.in
rename to gdb/gdb-gdb.gdb

base-commit: 192afd3ce7c2324cdbee2d4646df6cf1e9b6fd09
-- 
2.51.0


             reply	other threads:[~2026-09-02 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02 15:14 Tom de Vries [this message]
2026-09-02 15:32 ` 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=20260902151453.3903082-1-tdevries@suse.de \
    --to=tdevries@suse.de \
    --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