checkpoints vs multithreaded programs

Hui Zhu teawater@gmail.com
Fri Apr 8 09:02:00 GMT 2011


I am not sure, but I think it will not very easy.

Because checkpoint is depend on fork() to record the everything.  But
it cannot record multithreads info.

Thanks,
Hui

On Fri, Apr 8, 2011 at 16:54, przemekk834a <przemekk834a@o2.pl> wrote:
> Hello,
>
> Recently I've found the following message on the bugs list:
>
> [Bug threads/12628] New: GDB checkpoint can't/shouldn't be possible with multiple threads on Linux
>
> I have a quick question: does it mean that checkpoint support for multithreaded programs will be removed from future versions of GDB? (If I understand correctly this never have been working due to Linux system limitations).
>
> I'm asking because I write a GUI frontend for GDB and I consider adding GUI for checkpoints -- but with single-thread limitation I doubt this makes much sense.
>
> Best regards,
> Przemek Kuczmierczyk
>
>



More information about the Gdb mailing list