Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Stan Shebs <stan@codesourcery.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Pedro Alves <pedro@codesourcery.com>, gdb-patches@sourceware.org
Subject: Re: [RFA 01/08] multi-process support: struct inferior
Date: Tue, 16 Sep 2008 22:05:00 -0000	[thread overview]
Message-ID: <48D02D74.3060708@codesourcery.com> (raw)
In-Reply-To: <uej3pp238.fsf@gnu.org>

Eli Zaretskii wrote:
> [...] we still need some introductory text to break the news on
> the reader that GDB can debug several inferiors at once.  A couple of
> use cases where this would be useful will not do any harm, either.
>
> IOW, people who debug programs usually do that one program at a time,
> so we cannot seamlessly start talking about commands that support
> multi-process paradigm without introducing the reader to the feature.
>   
At the moment, I'm working with a section "Debugging Multiple Programs" 
just in front of the "Running" / "Threads" section, plus there are bits 
about multiple executables in the "Invocation" chapter. I don't think we 
want to push it up too much further, because 99% of GDB users don't care 
about multiple whatevers, and we don't want to get them mired down in 
this new level of complexity. A pre-multi-executable version of this 
section could maybe just introduce the concept of inferiors and not say 
much more except that multiple inferiors can be created via certain 
targets, such as the remote protocol. We could title it "Inferiors" in 
the meantime, and yes, it will seem a little odd to have both that and a 
"Processes" section soon after, but as of yet I don't have a good feel 
for how to best to merge the two, and given the coming upheavals, I'd 
just as soon wait until the multi-exec bits come in.

Stan


  reply	other threads:[~2008-09-16 22:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 15:38 Pedro Alves
2008-09-12 16:08 ` Eli Zaretskii
2008-09-12 17:21   ` Pedro Alves
2008-09-12 20:00     ` Eli Zaretskii
2008-09-16 22:05       ` Stan Shebs [this message]
2008-09-12 16:08 ` Eli Zaretskii
2008-09-17  0:33 ` [RFA 01/08] multi-process support: struct inferior (alternate manual content) Stan Shebs
2008-09-17  3:17   ` Eli Zaretskii
2008-09-18 22:46 ` [RFA 01/08] multi-process support: struct inferior Daniel Jacobowitz
2008-09-22 15:35   ` 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=48D02D74.3060708@codesourcery.com \
    --to=stan@codesourcery.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@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