Tools to debug multiple cores/processes at the same time?
Paul Koning
paulkoning@comcast.net
Wed Aug 18 20:53:43 GMT 2021
> On Aug 18, 2021, at 3:55 PM, Paul Smith via Gdb <gdb@sourceware.org> 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
More information about the Gdb
mailing list