From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11649 invoked by alias); 22 Jul 2010 18:14:26 -0000 Received: (qmail 11629 invoked by uid 22791); 22 Jul 2010 18:14:25 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jul 2010 18:14:17 +0000 Received: by pzk33 with SMTP id 33so6327057pzk.0 for ; Thu, 22 Jul 2010 11:14:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.147.20 with SMTP id u20mr2789610wfd.49.1279822456380; Thu, 22 Jul 2010 11:14:16 -0700 (PDT) Received: by 10.142.143.15 with HTTP; Thu, 22 Jul 2010 11:14:16 -0700 (PDT) In-Reply-To: <4C488940.8020503@vmware.com> References: <4C487AD8.7030203@vmware.com> <4C487F33.1030807@vmware.com> <4C48800B.1030100@vmware.com> <20100722180100.GA3927@host1.dyn.jankratochvil.net> <4C488940.8020503@vmware.com> Date: Thu, 22 Jul 2010 18:14:00 -0000 Message-ID: Subject: Re: help with loading core files From: Mathew Yeates To: Michael Snyder Cc: Jan Kratochvil , "gdb@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00092.txt.bz2 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 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. >