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 02/08] multi-process support: all targets manage inferior list


> From: Pedro Alves <pedro@codesourcery.com>
> Date: Fri, 19 Sep 2008 14:59:10 +0100
> Cc: gdb-patches@sourceware.org
> 
> > This looks otherwise OK (though I don't understand when you use
> > add_inferior vs add_inferior_silent).
> 
> Hmmm, the initial thought was somewhat similar to the
> use of add_thread_silent in targets that didn't add the main thread
> to the list because they don't support multi-threads.  (monitor,
> remote-sim).  As in, don't emit a CLI note notification if
> the target pid was made up by GDB and thus should not be visible
> to the user, and emit if otherwise.  This one seems to have been
> missed by that logic.
> 
> But I agree that this sounds somewhat bogus.  It should be the
> the target that should decide what to print...  I'll need
> to do a few further adjustments for that to be possible
> though.  These CLI notifications are off by default, so we
> can either get rid of add_inferior_silent, or make
> go32-nat.c also use it.  Any preference?  The attached does
> the latter.

I prefer the way of letting the target decide what to print.  Can we
do that?


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