* [PATCH] [gdb/build] Rename gdb/gdb-gdb.gdb.in to gdb/gdb-gdb.gdb
@ 2026-09-02 15:14 Tom de Vries
2026-09-02 15:32 ` Simon Marchi
0 siblings, 1 reply; 2+ messages in thread
From: Tom de Vries @ 2026-09-02 15:14 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-02 15:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-02 15:14 [PATCH] [gdb/build] Rename gdb/gdb-gdb.gdb.in to gdb/gdb-gdb.gdb Tom de Vries
2026-09-02 15:32 ` Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox