Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: RFC: introduce common.m4
Date: Thu, 25 Apr 2013 02:45:00 -0000	[thread overview]
Message-ID: <51782CC6.9040008@redhat.com> (raw)
In-Reply-To: <87obd3n4c8.fsf@fleche.redhat.com>

On 04/24/2013 07:58 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
> 
> Pedro> What's the advantage of doing it this way?  Caching?  Doesn't autoconf
> Pedro> use the cached value if there are multiple AC_CHECK_FOOs for the same
> Pedro> thing?  Not super sure I like this over keeping each directory aware
> Pedro> of its dependencies, but I suppose I can go along.
> 
> The advantage is in maintenance.  Right now one must remember to update
> both gdb and gdbserver configure scripts in parallel.

I think you misunderstood the question.  Sorry if it wasn't clear.
The "this way" was referring to:

> The rule I propose is that if something is needed or used by common,
> it should be checked for by common.m4; but that code outside this
> directory also be free to use these results.  This means that removing
> checks from common.m4 must first be preceded by looking at uses in gdb
> and gdbserver.  I think this is pretty easy to do -- easier than what
> we are doing now -- and I have documented the requirement.

over keeping common aware of the checks it needs to do (in common.m4),
and gdb/ and gdbserver/ also doing the checks they need for code under
gdb/ and gdbserver/ respectively.

Of course the current status of needing to update gdb and gdbserver in
parallel for common/ things is no good.

-- 
Pedro Alves


  reply	other threads:[~2013-04-24 19:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 20:51 Tom Tromey
2013-04-24 23:16 ` Pedro Alves
2013-04-25  1:47   ` Tom Tromey
2013-04-25  2:45     ` Pedro Alves [this message]
2013-04-25  5:48       ` Tom Tromey
2013-04-26 21:01         ` Pedro Alves
2013-07-22 17:49           ` Tom Tromey
2013-07-26 15:34             ` Pedro Alves

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=51782CC6.9040008@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