This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: help with loading core files


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.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]