Re: Tools to debug multiple cores/processes at the same time?

Paul Koning via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>

> On Aug 18, 2021, at 3:55 PM, Paul Smith via Gdb <[email protected]> wrote:
> 
> In my environment I'm working on a distributed system where the same
> process is running on a number of different systems.  The way these
> processes work is that they should all have (approximately) the same
> set of in-memory content at the same time.
> ...
> What I'm really wondering is, has anyone heard of something like this,
> or is there any support (even partial support) for something like this
> in GDB today?  I get that it seems like a somewhat specialized request.
> 
> Debugging multiple live processes at the same time would also be great,
> of course.

There is multiple target support, which I haven't had a chance to try yet but from what I remember reading is a recently added GDB feature.  It should handle your case plus even stranger ones, such as multiple processes running different code, or even running on different instruction sets.  It's just what you need for debugging distributed applications.

	paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.