Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Stan Shebs <stan@codesourcery.com>
To: Michael Snyder <msnyder@specifix.com>
Cc: gdb@sourceware.org
Subject: Re: Towards multiprocess GDB
Date: Mon, 21 Jul 2008 18:32:00 -0000	[thread overview]
Message-ID: <4884D3A6.2020209@codesourcery.com> (raw)
In-Reply-To: <1216599968.3549.478.camel@localhost.localdomain>

Michael Snyder wrote:
> Yarg.  I can imagine wanting to debug several core files at once
> (failure of a multi-process application, maybe), but mixed core
> files and live processes?  I think maybe we should disallow that...
> What would happen when you said "continue"?
>   
In practice, I think there are going to be nonsensical combinations, but 
we can just exclude them as they come up. For a first version it seems 
reasonable to only work if all the arguments use the same target, and 
then allow more variation once Pedro implements the multi-target 
capability he described. :-) If targets are per-program, then "all 
continue" could be quite a circus - no effect on cores, ptrace calls to 
local inferiors, and a spray of packets to remote targets, which are 
fortunately async, so they don't mind getting an extra continue packet 
or two. :-)
> How about this as a first increment?  Could we extend
> what we now have with forks, so that GDB could individually
> control the separate process ids (including threads, if they
> have them), while forestalling dealing with separate symbol
> files because forks can all share the same one?
>   
I want to jump on symbol files quickly, because I think it may be the 
long pole - I hope not, but we don't know for sure yet, lots of old code 
with old assumptions. Our clientele is mainly interested in embedded 
(more protocol and gdbserver hackery, whee), so native fork support 
seems most likely as either testing support or a volunteer contribution.

Stan


  parent reply	other threads:[~2008-07-21 18:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18 20:50 Stan Shebs
2008-07-18 21:21 ` Paul Koning
2008-07-18 21:41   ` Stan Shebs
2008-07-21  0:34   ` Michael Snyder
2008-07-18 22:13 ` Mark Kettenis
2008-07-18 22:20   ` David Daney
2008-07-18 22:28   ` Thiago Jung Bauermann
2008-07-18 23:09   ` Stan Shebs
2008-07-19  3:53     ` Pedro Alves
2008-07-21 17:39       ` Stan Shebs
2008-07-21  1:53   ` Michael Snyder
2008-07-21 16:08     ` Russell Shaw
2008-07-21 17:57   ` Joel Brobecker
2008-07-18 23:13 ` Tom Tromey
2008-07-21 17:11   ` Stan Shebs
2008-07-21  0:30 ` Michael Snyder
2008-07-21 18:21   ` Paul Pluzhnikov
2008-07-21 18:32   ` Stan Shebs [this message]
2008-07-21 16:38 ` Michael Eager
2008-07-21 21:54   ` Stan Shebs
2008-07-31 22:04 ` Ian Lance Taylor

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=4884D3A6.2020209@codesourcery.com \
    --to=stan@codesourcery.com \
    --cc=gdb@sourceware.org \
    --cc=msnyder@specifix.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