From: Hannes Domani <ssbssa@yahoo.de>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
Simon Marchi <simon.marchi@efficios.com>
Subject: Re: [PATCH 2/3] gdb, gdbserver, gdbsupport: include config.h files with -include
Date: Tue, 19 Mar 2024 11:18:18 +0000 (UTC) [thread overview]
Message-ID: <612462889.10028427.1710847098113@mail.yahoo.com> (raw)
In-Reply-To: <20240318200257.131199-2-simon.marchi@efficios.com>
Am Montag, 18. März 2024 um 21:03:47 MEZ hat Simon Marchi <simon.marchi@efficios.com> Folgendes geschrieben:
> diff --git a/gdbsupport/Makefile.am b/gdbsupport/Makefile.am
> index 7c360aa413ef..db1eee88059a 100644
> --- a/gdbsupport/Makefile.am
> +++ b/gdbsupport/Makefile.am
> @@ -35,6 +35,7 @@ AM_CPPFLAGS = \
> $(INCINTL) \
> -I../bfd \
> -I$(srcdir)/../bfd \
> + -include $(srcdir)/gdbsupport.inc.h \
> @LARGEFILE_CPPFLAGS@
>
> override CXX += $(CXX_DIALECT)
> diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in
> index 6f8dacc157f9..9b1063f31ab3 100644
> --- a/gdbsupport/Makefile.in
> +++ b/gdbsupport/Makefile.in
> @@ -393,10 +393,18 @@ ACLOCAL_AMFLAGS = -I . -I ../config
> # from Automake, as gdbsupport uses AM_GNU_GETTEXT through
> # ZW_GNU_GETTEXT_SISTER_DIR, but doesn't have any translations (currently).
> SUBDIRS =
> -AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \
> - -I../gnulib/import -I$(srcdir)/../gnulib/import \
> - -I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd \
> - @LARGEFILE_CPPFLAGS@
> +AM_CPPFLAGS = \
> + -I$(srcdir)/../include \
> + -I$(srcdir)/../gdb \
> + -I../gnulib/import \
> + -I$(srcdir)/../gnulib/import \
> + -I.. \
> + -I$(srcdir)/.. \
> + $(INCINTL) \
> + -I../bfd \
> + -I$(srcdir)/../bfd \
> + -include $(srcdir)/gdbsupport.inc.h \
> + @LARGEFILE_CPPFLAGS@
>
> AM_CXXFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
> noinst_LIBRARIES = libgdbsupport.a
Shouldn't most of this hunk be in the 'one entry per line' commit?
Hannes
next prev parent reply other threads:[~2024-03-19 11:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-18 20:01 [PATCH 1/3] gdb, gdbserver, gdbsupport: reformat some Makefile variables, one entry per line Simon Marchi
2024-03-18 20:01 ` [PATCH 2/3] gdb, gdbserver, gdbsupport: include config.h files with -include Simon Marchi
2024-03-19 11:18 ` Hannes Domani [this message]
2024-03-19 12:22 ` Simon Marchi
2024-03-20 20:32 ` Pedro Alves
2024-03-21 2:11 ` Simon Marchi
2024-03-21 12:50 ` Pedro Alves
2024-03-21 13:02 ` Pedro Alves
2024-03-22 14:55 ` Simon Marchi
2024-03-22 15:08 ` Simon Marchi
2024-03-22 15:43 ` Pedro Alves
2024-03-18 20:01 ` [PATCH 3/3] gdbsupport: move more things to gdbsupport.inc.h 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=612462889.10028427.1710847098113@mail.yahoo.com \
--to=ssbssa@yahoo.de \
--cc=gdb-patches@sourceware.org \
--cc=simon.marchi@efficios.com \
/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