public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/5] gdb: move libiberty.m4 to gdbsupport
@ 2024-01-10  1:58 Mike Frysinger
  2024-01-10  1:58 ` [PATCH 2/5] gdb: libiberty: switch to AC_CHECK_DECLS_ONCE Mike Frysinger
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Mike Frysinger @ 2024-01-10  1:58 UTC (permalink / raw)
  To: gdb-patches

This is used by gdb, gdbsupport, and gdbserver.  We want to use it
in the sim tree too.  Move it to gdbsupport which is meant as the
common sharing space for these projects.
---
 gdb/acinclude.m4                 | 2 +-
 gdbserver/acinclude.m4           | 2 +-
 gdbsupport/Makefile.in           | 7 ++++---
 gdbsupport/acinclude.m4          | 2 +-
 {gdb => gdbsupport}/libiberty.m4 | 0
 5 files changed, 7 insertions(+), 6 deletions(-)
 rename {gdb => gdbsupport}/libiberty.m4 (100%)

diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4
index d505fbbb2676..915082056dd9 100644
--- a/gdb/acinclude.m4
+++ b/gdb/acinclude.m4
@@ -48,7 +48,7 @@ m4_include([../config/zstd.m4])
 m4_include([../gdbsupport/common.m4])
 
 dnl For libiberty_INIT.
-m4_include(libiberty.m4)
+m4_include(../gdbsupport/libiberty.m4)
 
 dnl For GDB_AC_PTRACE.
 m4_include(../gdbsupport/ptrace.m4)
diff --git a/gdbserver/acinclude.m4 b/gdbserver/acinclude.m4
index 32d5d14ca6ee..db69b7d243b1 100644
--- a/gdbserver/acinclude.m4
+++ b/gdbserver/acinclude.m4
@@ -19,7 +19,7 @@ m4_include(../config/codeset.m4)
 m4_include(../gdbsupport/common.m4)
 
 dnl For libiberty_INIT.
-m4_include(../gdb/libiberty.m4)
+m4_include(../gdbsupport/libiberty.m4)
 
 dnl For GDB_AC_PTRACE.
 m4_include(../gdbsupport/ptrace.m4)
diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in
index 070e36a6affa..23f980d1bc1d 100644
--- a/gdbsupport/Makefile.in
+++ b/gdbsupport/Makefile.in
@@ -128,9 +128,10 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/codeset.m4 \
 	$(top_srcdir)/../bfd/bfd.m4 $(top_srcdir)/common.m4 \
 	$(top_srcdir)/../config/ax_pthread.m4 \
 	$(top_srcdir)/../gdb/ax_cxx_compile_stdcxx.m4 \
-	$(top_srcdir)/../gdb/libiberty.m4 $(top_srcdir)/selftest.m4 \
-	$(top_srcdir)/ptrace.m4 $(top_srcdir)/compiler-type.m4 \
-	$(top_srcdir)/warning.m4 $(top_srcdir)/configure.ac
+	$(top_srcdir)/../gdbsupport/libiberty.m4 \
+	$(top_srcdir)/selftest.m4 $(top_srcdir)/ptrace.m4 \
+	$(top_srcdir)/compiler-type.m4 $(top_srcdir)/warning.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
diff --git a/gdbsupport/acinclude.m4 b/gdbsupport/acinclude.m4
index c6276149867e..584d392b996d 100644
--- a/gdbsupport/acinclude.m4
+++ b/gdbsupport/acinclude.m4
@@ -2,7 +2,7 @@ m4_include([../bfd/bfd.m4])
 m4_include([common.m4])
 m4_include([../config/ax_pthread.m4])
 m4_include([../gdb/ax_cxx_compile_stdcxx.m4])
-m4_include([../gdb/libiberty.m4])
+m4_include([../gdbsupport/libiberty.m4])
 m4_include([selftest.m4])
 m4_include([ptrace.m4])
 
diff --git a/gdb/libiberty.m4 b/gdbsupport/libiberty.m4
similarity index 100%
rename from gdb/libiberty.m4
rename to gdbsupport/libiberty.m4
-- 
2.43.0


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

end of thread, other threads:[~2024-01-10 18:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-10  1:58 [PATCH 1/5] gdb: move libiberty.m4 to gdbsupport Mike Frysinger
2024-01-10  1:58 ` [PATCH 2/5] gdb: libiberty: switch to AC_CHECK_DECLS_ONCE Mike Frysinger
2024-01-10 18:18   ` Tom Tromey
2024-01-10  1:58 ` [PATCH 3/5] sim: ppc: rework defines.h to handle HAVE symbols defined to 0 Mike Frysinger
2024-01-10  1:58 ` [PATCH 4/5] sim: build: switch to gdbsupport/libiberty.m4 Mike Frysinger
2024-01-10  1:58 ` [PATCH 5/5] gdbsupport: tighten up libiberty code a bit with dnl Mike Frysinger
2024-01-10 18:19   ` Tom Tromey
2024-01-10 18:18 ` [PATCH 1/5] gdb: move libiberty.m4 to gdbsupport 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).