Re: Move the multi-forks support to the generic multi-inferiors support.

Tom Tromey
2009-05-31T20:46:26Z

>>>>> "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