This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: checkpoints vs multithreaded programs
- From: Hui Zhu <teawater at gmail dot com>
- To: przemekk834a <przemekk834a at o2 dot pl>
- Cc: gdb at sourceware dot org
- Date: Fri, 8 Apr 2011 17:02:25 +0800
- Subject: Re: checkpoints vs multithreaded programs
- References: <471d9095.7589392.4d9ecd28.58eff@o2.pl>
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
>
>