This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Remove unnecessary target defaults.


On Friday 15 August 2008 15:40:53, Vladimir Prus wrote:

> > It sounds sound to me.  This would be like a generalised version of
> > inf-child.c, from which all targets that can have execution
> > inherit.
>
> Well, actually, I meant implementing target_can_async_p in such a way that
> it:
>
> - iterates over all targets
> - breaks after it examines a target at process stratum
>

Should work too...

> Of course, we can also have a common target, but it would require manually
> adjusting all target on process stratum.

... 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.  :-)

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]