This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Multi-process and multi-target
- From: <Paul_Koning at Dell dot com>
- To: <gdb at sourceware dot org>
- Date: Fri, 10 Jul 2015 20:33:32 +0000
- Subject: Multi-process and multi-target
- Authentication-results: sourceware.org; auth=none
Gentlepeople,
Multiprocess support looks like a nice way to debug multiple copies of a distributed application, provided the copies can be made to run on a single target system. The user interface of multiprocess support is a bit clunky and it takes a fair amount of experimentation to figure out how things really work, but I could get it to work.
However, it is often the case that such a test setup involves multiple machines. The multiprocess machinery seems to be perfectly capable of dealing with such a mix, even if the machines are not all the same architecture. But thereâs only one target.
I wonder about generalizing the target machinery to allow multiple targets to be active simultaneously, with a particular target associated with a set of inferiors. Does this make sense? Is there a better way? Is someone already doing this? If not, would such a project be welcomed?
paul