From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28223 invoked by alias); 22 Jul 2010 18:09:12 -0000 Received: (qmail 28170 invoked by uid 22791); 22 Jul 2010 18:09:11 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jul 2010 18:09:05 +0000 Received: from mailhost4.vmware.com (mailhost4.vmware.com [10.16.67.124]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 5D8FA16007; Thu, 22 Jul 2010 11:09:04 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost4.vmware.com (Postfix) with ESMTP id 51E91C9AEA; Thu, 22 Jul 2010 11:09:04 -0700 (PDT) Message-ID: <4C488940.8020503@vmware.com> Date: Thu, 22 Jul 2010 18:09:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Jan Kratochvil CC: Mathew Yeates , "gdb@sourceware.org" Subject: Re: help with loading core files References: <4C487AD8.7030203@vmware.com> <4C487F33.1030807@vmware.com> <4C48800B.1030100@vmware.com> <20100722180100.GA3927@host1.dyn.jankratochvil.net> In-Reply-To: <20100722180100.GA3927@host1.dyn.jankratochvil.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00091.txt.bz2 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.