I have to debug program with multiple threads. I use gdb, and I'd like to use checkpoints. The only limitation in the manual is that checkpoints are only available on gnu/linux systems, but nothing related to threads.
However, when I try to checkpoint, I have an error:
(gdb) checkpoint
checkpoint: can't checkpoint multiple threads.
Is there something I am doing wrong, or is it indeed not possible to checkpoint multi-threaded programs (with this limitation not listed in the manual) ?
N.B.: I am well aware that the notion of checkpoint/rollback is really difficult in a concurrent system, due to the causality aspects of such programs, the question is more about if there is something I am missing.