aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-09 20:20:38 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-10 19:52:52 -0500
commit3f258212a8212ac2530bae48c306f7763d542594 (patch)
treefe188aa96af3da1906fe6b0fbbb135140dbae007
parenta4b35c1e59484fc386d9cef9f3ef3f47d3931333 (diff)
downloadbinutils-3f258212a8212ac2530bae48c306f7763d542594.zip
binutils-3f258212a8212ac2530bae48c306f7763d542594.tar.gz
binutils-3f258212a8212ac2530bae48c306f7763d542594.tar.bz2
gdb: move libiberty.m4 to gdbsupport
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. Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r--gdb/acinclude.m42
-rw-r--r--gdbserver/acinclude.m42
-rw-r--r--gdbsupport/Makefile.in7
-rw-r--r--gdbsupport/acinclude.m42
-rw-r--r--gdbsupport/libiberty.m4 (renamed from gdb/libiberty.m4)0
5 files changed, 7 insertions, 6 deletions
diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4
index d505fbb..9150820 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 32d5d14..db69b7d 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 070e36a..23f980d 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 c627614..584d392 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
index 73673a9..73673a9 100644
--- a/gdb/libiberty.m4
+++ b/gdbsupport/libiberty.m4