From: Pedro Alves <palves@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: RFC: automatic dependency tracking for gdbserver
Date: Fri, 07 Dec 2012 10:18:00 -0000 [thread overview]
Message-ID: <50C1C285.5070904@redhat.com> (raw)
In-Reply-To: <87r4n6vnqx.fsf@fleche.redhat.com>
On 12/03/2012 09:17 PM, Tom Tromey wrote:
> This patch applies the same automatic dependency tracking logic that gdb
> uses to gdbserver.
>
> The downside of this patch is that gdbserver dependencies will not be
> tracked unless the developer is using GNU make. On the other hand,
> we've had this same code in gdb for several years without any
> complaints.
>
> Comments?
Err, I love you? :-) Seriously, many thanks for doing this.
> +amd64-linux-ipa.o : amd64-linux.c
Spurious space -----^
> diff --git a/gdb/gdbserver/aclocal.m4 b/gdb/gdbserver/aclocal.m4
> index 7b546b7..55bf0d8 100644
> --- a/gdb/gdbserver/aclocal.m4
> +++ b/gdb/gdbserver/aclocal.m4
> @@ -106,4 +106,6 @@ AC_DEFUN([_AM_SUBST_NOTMAKE])
> # Public sister of _AM_SUBST_NOTMAKE.
> AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
>
> +m4_include([../../config/depstand.m4])
> +m4_include([../../config/lead-dot.m4])
> m4_include([acinclude.m4])
I think I'd mildly prefer having these listed explicitly in acinclude.m4,
so you can do just autoreconf on the command line or aclocal, without worrying
about forgetting -I (IIRC, ACLOCAL_AMFLAGS is actually ignored, because we're
not using automake). WDYT? I actually have a patch for GDB that does the same
to gdb's aclocal. See the second patch at:
https://github.com/palves/gdb/commits/aclocal
but I never posted it.
I do wonder why does acinclude.m4 use sinclude instead of include. I don't
see why you'd ever want those includes to silently fail.
--
Pedro Alves
next prev parent reply other threads:[~2012-12-07 10:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-03 21:18 Tom Tromey
2012-12-07 3:12 ` Joel Brobecker
2012-12-07 10:18 ` Pedro Alves [this message]
2012-12-07 14:43 ` Tom Tromey
2013-01-16 19:48 ` Make autoreconf under gdb/ work (Re: RFC: automatic dependency tracking for gdbserver) Pedro Alves
2013-01-16 21:15 ` Tom Tromey
2013-01-17 11:08 ` Pedro Alves
2012-12-10 20:15 ` RFC: automatic dependency tracking for gdbserver Tom Tromey
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=50C1C285.5070904@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.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