From patchwork Mon Feb 10 16:40:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 37855 Received: (qmail 128473 invoked by alias); 10 Feb 2020 16:40:39 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 128404 invoked by uid 89); 10 Feb 2020 16:40:39 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=(unknown), H*r:10026 X-HELO: mail.efficios.com Received: from mail.efficios.com (HELO mail.efficios.com) (167.114.26.124) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Feb 2020 16:40:34 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 1507E244835 for ; Mon, 10 Feb 2020 11:40:33 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tM0oXZh7dPUY; Mon, 10 Feb 2020 11:40:32 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 178A3244938; Mon, 10 Feb 2020 11:40:32 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 178A3244938 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1581352832; bh=wlEB0BY4CL8deKx3lhGKcV9DS9A8wVqmUgy13gY6yb4=; h=From:To:Date:Message-Id:MIME-Version; b=WPfuHP/vW41EQVLt5EOU2094ldziYUkO5A49qZ5iyIy3NKxC2hA35YDzSNe++qncI wIDxCUkBGbevUSHZJUEoIYrrxiaE8mdX0iDyVPj8gy+1QrDG0RnI6ur+U6qMPD9lot n18u1g5VT2XVKPd+4mCaRmtSmoItj4oo5lEOQZKrT1UhAef04MpiwhQgzzlNiD/K9a DapDJBDyppY7pcDZWT0W51uz0ZQgdvCT/iGNgUcEowgXDODzevR5b9pFMlV6xpUix7 91qWcosHhLCmN+RZ31h//WU0fQucrCrKaCP1WxVWaFVIagnTCWTitGAbZYABuamE+x kS22bMEQIZTYQ== Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mx5NbqX6i_6L; Mon, 10 Feb 2020 11:40:32 -0500 (EST) Received: from smarchi-efficios.internal.efficios.com (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) by mail.efficios.com (Postfix) with ESMTPSA id ED1D3244738; Mon, 10 Feb 2020 11:40:31 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 2/3] Move gdb/warning.m4 to gdbsupport Date: Mon, 10 Feb 2020 11:40:23 -0500 Message-Id: <20200210164024.32445-2-simon.marchi@efficios.com> In-Reply-To: <20200210164024.32445-1-simon.marchi@efficios.com> References: <20200210164024.32445-1-simon.marchi@efficios.com> MIME-Version: 1.0 This file is used by gdbsupport, gdbserver and gdb, so I think it belongs in gdbsupport. Move it there and update the references the various acinclude.m4 files. gdbsupport/ChangeLog: * warning.m4: Move here, from gdb/warning.m4. * acinclude.m4: Update warning.m4 path. * Makefile.in: Re-generate. gdbserver/ChangeLog: * acinclude.m4: Update warning.m4 path. gdb/ChangeLog: * acinclude: Update warning.m4 path. * warning.m4: Move to gdbsupport. --- gdb/acinclude.m4 | 2 +- gdbserver/acinclude.m4 | 4 ++-- gdbsupport/Makefile.in | 2 +- gdbsupport/acinclude.m4 | 2 +- {gdb => gdbsupport}/warning.m4 | 0 5 files changed, 5 insertions(+), 5 deletions(-) rename {gdb => gdbsupport}/warning.m4 (100%) diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4 index d60b2fe19c16..14304bbe50ff 100644 --- a/gdb/acinclude.m4 +++ b/gdb/acinclude.m4 @@ -10,7 +10,7 @@ m4_include(acx_configure_dir.m4) m4_include(transform.m4) # This gets AM_GDB_WARNINGS. -m4_include(warning.m4) +m4_include(../gdbsupport/warning.m4) # AM_GDB_UBSAN m4_include(sanitize.m4) diff --git a/gdbserver/acinclude.m4 b/gdbserver/acinclude.m4 index 5a284515c82b..6ed43ddd5219 100644 --- a/gdbserver/acinclude.m4 +++ b/gdbserver/acinclude.m4 @@ -3,8 +3,8 @@ m4_include(../bfd/bfd.m4) m4_include(../gdb/acx_configure_dir.m4) -# This gets AM_GDB_WARNINGS. -m4_include(../gdb/warning.m4) +dnl This gets AM_GDB_WARNINGS. +m4_include(../gdbsupport/warning.m4) dnl This gets autoconf bugfixes m4_include(../config/override.m4) diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in index 91164175bc04..be4d53545311 100644 --- a/gdbsupport/Makefile.in +++ b/gdbsupport/Makefile.in @@ -124,7 +124,7 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/codeset.m4 \ $(top_srcdir)/../gdb/ax_cxx_compile_stdcxx.m4 \ $(top_srcdir)/../gdb/libiberty.m4 \ $(top_srcdir)/../gdb/selftest.m4 \ - $(top_srcdir)/../gdb/ptrace.m4 $(top_srcdir)/../gdb/warning.m4 \ + $(top_srcdir)/../gdb/ptrace.m4 $(top_srcdir)/warning.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) diff --git a/gdbsupport/acinclude.m4 b/gdbsupport/acinclude.m4 index 3598b201b94b..d638ebcb543a 100644 --- a/gdbsupport/acinclude.m4 +++ b/gdbsupport/acinclude.m4 @@ -7,4 +7,4 @@ m4_include([../gdb/selftest.m4]) m4_include([../gdb/ptrace.m4]) dnl This gets AM_GDB_WARNINGS. -m4_include(../gdb/warning.m4) +m4_include(warning.m4) diff --git a/gdb/warning.m4 b/gdbsupport/warning.m4 similarity index 100% rename from gdb/warning.m4 rename to gdbsupport/warning.m4