Re: help with loading core files

Mathew Yeates
2010-07-22T18:14:26Z

yeah, I was just looking at "checkpoint". It seems to me that if gdb
is able to create checkpoints, it should also be able to do what I
want (restart and immediately go to a certain location)

On Thu, Jul 22, 2010 at 11:09 AM, Michael Snyder <msnyder@vmware.com> wrote:
> Jan Kratochvil wrote:
>>
>> On Thu, 22 Jul 2010 19:55:03 +0200, Mathew Yeates wrote:
>>>
>>> How do people deal with running to a breakpoint that takes 10 minutes
>>> to get to? It would be great if I could run to the breakpoint once,
>>> save some info, and in the future just return to the breakpoint and
>>> keep running from there.
>>
>> See info '(gdb)Checkpoint/Restart' but it does not work with threads and
>> it is
>> not a commonly used feature (at least I have never used it myself).
>
> Jan, I think he wants to quit his gdb session and return to it.
> Checkpoints aren't preserved across quitting and restarting gdb.
>