This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Move the multi-forks support to the generic multi-inferiors support.
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 31 May 2009 14:45:33 -0600
- Subject: Re: Move the multi-forks support to the generic multi-inferiors support.
- References: <200905310013.38916.pedro@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> So, what I want to do is, to get rid of the linux-fork.c "multi-forks"
Pedro> support, replace it with generic "multi-inferior" support, but
Pedro> leave the checkpoint support there. That is what the patch
Pedro> below does.
Your plan sounds good to me. (I didn't read the patch yet, so no
comments on that.)
Pedro> In fact, I believe that the correct abstraction is for all
Pedro> these checkpoint forks to be associated with the same inferior
Pedro> id.
Pedro> | info forks | delete, replaced by the |
Pedro> | | generic "info inferiors" |
I guess "info inferiors" would show all the checkpointed forks for a
given inferior?
BTW, I think the "info inferiors" output still needs cleaning up, a la
http://sourceware.org/ml/gdb-patches/2008-11/msg00666.html
Pedro> What do you think?
Do it.
Tom