This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multiprocess MI extensions
On Wednesday 11 June 2008 20:39:31 you wrote:
> > 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?
> >
> >
> Yes, that's fine. A more forward looking alternative would be to have a
> consistent id field and a type field which would indicate whether it's a
> group, thread, etc.
Hopefully, the thread-group concept of so general that we'll only even need to
introduce new types of thread groups. IOW, instead of having id and type
in all notifications, we'll have id pointing at thread group, and the type
will be part of thread group.
- Volodya