This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]