From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: "Vladimir Prus" <vladimir@codesourcery.com>, <gdb@sources.redhat.com>
Subject: RE: Re: Multiprocess MI extensions
Date: Fri, 13 Jun 2008 17:34:00 -0000 [thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA042911CB@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: API-LINK-9af1cd22630980e5da3cd180381d1c8e44d373cd
> >> -> How to report process exit? Should we overload
> =thread-exited, introduce
> >> =thread-group-exited, or what?
> >>
> >> -> Should we auto-attach to newly forked processes? Should we have
> >> =new-thread-group notificatin, if so?
> >>
> > Auto attach should probably be an option, but if there is an auto
> > attach, a notification should definitely be generated.
>
> OK.
>
> >> -> Should we have just =created and =exited notifications,
> used for threads
> >> and processes and what not?
> >>
> > I don't think it makes much difference whether the same
> event is used or
> > not as long as a parent-id field is included in the event.
>
> Just to make sure we're on the same page -- if we use one
> notification for everything,
> it will either have a 'thread' field -- when a thread is
> created/exited, or 'thread-group'
> field, when process is created/exited. Is that OK?
Currently, when the inferior exits, there is an event that looks like:
*stopped,reason="exited-normally"
or some other variant.
I gather this is not a considered option for multi-process?
It probably would have helped with backwards compatibility.
What notification would be used for single-process, after the
multi-process changes? Still *stopped... or will it be made in-line
with multi-process?
Thanks
marc
next prev parent reply other threads:[~2008-06-13 17:34 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 [this message]
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
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=6D19CA8D71C89C43A057926FE0D4ADAA042911CB@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