Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: Vladimir Prus <vladimir@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Remove unnecessary target defaults.
Date: Fri, 15 Aug 2008 15:11:00 -0000	[thread overview]
Message-ID: <200808151610.55835.pedro@codesourcery.com> (raw)
In-Reply-To: <200808151902.07713.vladimir@codesourcery.com>

On Friday 15 August 2008 16:02:07, Vladimir Prus wrote:

> > ... yeah.  I keep meaning to try adding a base target from which all
> > targets inherit, so we could perhaps get rid of this INHERIT +
> > de_fault business, and I somehow thought you could read minds.  Well,
> > you do, but you set it to block dumb ideas.  :-)
>
> In fact, I cannot shake the feeling that current target stack is several
> designs lumped together, and it would be beneficial to switch to a more
> coherent design, where, in particular:
>
> - there's base target every other target derives from and most methods of
> the base target forward to the target beneath
> - dummy target catches all methods
> - all INHERIT and de_fault code is removed
> - all target_xxx methods (iterating over target stack) are removed, or make
> just call current_target->xxx
>
> But this is fairly large thing to do.
>

Eh, you *do* read minds!

-- 
Pedro Alves


  reply	other threads:[~2008-08-15 15:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15 12:46 Vladimir Prus
2008-08-15 13:08 ` Pedro Alves
2008-08-15 14:16   ` Vladimir Prus
2008-08-15 14:31     ` Pedro Alves
2008-08-15 14:41       ` Vladimir Prus
2008-08-15 14:52         ` Pedro Alves
2008-08-15 15:02           ` Vladimir Prus
2008-08-15 15:11             ` Pedro Alves [this message]
2008-08-16 20:15 ` Daniel Jacobowitz

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=200808151610.55835.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=vladimir@codesourcery.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