From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: "Vladimir Prus" <vladimir@codesourcery.com>
Cc: <gdb@sources.redhat.com>
Subject: RE: Multiprocess MI extensions
Date: Wed, 18 Jun 2008 13:49:00 -0000 [thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA042911EB@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: <200806181238.44911.vladimir@codesourcery.com>
> > On another point for multi-process, I was wondering if
> there will be a need
> > to select a thread-group before issuing commands affecting a entire
> > group? Something similar to what we have with -thread-select.
> > I was thinking that a command affecting a group would apply
> to the group
> > to which the current thread belongs.
> >
> > This would allow for any command currently applicable to
> the single process
> > or inferior, to be applied in the same way. To be honnest,
> I'm not entirely
> > sure this is a good idea.
> >
> > Did you guys discuss this?
>
> Not so much as "discuss". I personally try to avoid
> introducing more state in MI,
> at all costs. That's why for commands wishing to operate on a
> given thread group,
> the --thread-group option will be required. Presently, only
> -exec-continue and
> -exec-interrupt seem to need this, though.
There are a couple of enviroment variables that may apply to a
given thread-group. I admit that these commands bring
up other questions about how to deal with multi-process
debugging and that I may be bringing this up a little early.
I'll list the commands anyway, but it is just to start the ball
rolling (although I'm sure the ball is rolling already :-))
-file-exec-and-symbols (and the like)
-exec-arguments (DSF uses '-gdb-set args' instead)
-environment-cd
-inferior-tty-set (although this can apply to all inferiors
as we discussed with Dan in a recent thread)
-exec-abort (or kill)
The question of exit code also comes up, although I'm not very
familiar with it, so I don't know how it applies.
This does not look too bad, now that I see it listed :-)
Marc
next prev parent reply other threads:[~2008-06-18 13:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 19:24 Vladimir Prus
2008-06-10 19:42 ` Pawel Piech
2008-06-10 19:53 ` Vladimir Prus
2008-06-11 16:40 ` Pawel Piech
2008-06-11 16:43 ` Vladimir Prus
2008-06-13 17:34 ` Marc Khouzam
2008-06-14 15:15 ` Vladimir Prus
2008-06-17 18:32 ` Marc Khouzam
2008-06-18 8:39 ` Vladimir Prus
2008-06-18 13:49 ` Marc Khouzam [this message]
2008-06-17 19:28 ` Marc Khouzam
2008-06-17 19:33 ` Marc Khouzam
2008-06-17 19:50 ` Vladimir Prus
2008-06-17 20:19 ` Marc Khouzam
2008-06-18 7:41 ` Vladimir Prus
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=6D19CA8D71C89C43A057926FE0D4ADAA042911EB@ecamlmw720.eamcs.ericsson.se \
--to=marc.khouzam@ericsson.com \
--cc=gdb@sources.redhat.com \
--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