From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13879 invoked by alias); 10 Jan 2007 16:22:31 -0000 Received: (qmail 13860 invoked by uid 22791); 10 Jan 2007 16:22:30 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.227) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 10 Jan 2007 16:22:23 +0000 Received: by wr-out-0506.google.com with SMTP id i31so80067wra for ; Wed, 10 Jan 2007 08:22:21 -0800 (PST) Received: by 10.90.103.2 with SMTP id a2mr340946agc.1168446141434; Wed, 10 Jan 2007 08:22:21 -0800 (PST) Received: by 10.90.104.9 with HTTP; Wed, 10 Jan 2007 08:22:21 -0800 (PST) Message-ID: Date: Wed, 10 Jan 2007 16:22:00 -0000 From: "Uri Moszkowicz" To: gdb@sources.redhat.com Subject: Re: c++/2208: Checkpoints not saved on restart Cc: "Nick Roberts" In-Reply-To: <1167813680.9414.4.camel@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1167813680.9414.4.camel@kahikatea.snap.net.nz> X-Google-Sender-Auth: d740078af5ad637a 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: 2007-01/txt/msg00176.txt.bz2 Hi, I submitted this bug report and am forwarding it to this list at the request of Nick Roberts. This bug concerns checkpointing and is probably more of a feature request than a bug (though I've submitted several other real checkpointing bugs). While I'm glad to have checkpointing support, its not as useful as it may appear since you can only revert to a saved checkpoint once. After restarting a saved checkpoint it is lost. I propose that a restart checkpoint should first fork before execution thus allowing a user to replay from a given checkpoint multiple times. Checkpointing after any restart would be a temporary workaround except for bug #2209, which states that checkpointing after restart causes a deadlock. Thanks, Uri On 1/3/07, Nick Roberts wrote: > http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=2208 > > > 1. set 2 breakpoint and run to first > > 2. "checkpoint" > > 3. "continue" > > 4. "restart 1" > > 5. "continue" > > 6. "info checkpoints" > > > Notice how checkpoint 1 has moved to the second breakpoint. > > I think that's because 5. "continue" took it there. Have you read the > description of checkpoints in the manual? I think it's a good idea > to post to gdb@sources.redhat.com first, and only file as a bug once > there is agreement that it is one. > >