From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13982 invoked by alias); 6 Dec 2008 10:20:54 -0000 Received: (qmail 13974 invoked by uid 22791); 6 Dec 2008 10:20:54 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO mail.hofr.at) (194.112.174.227) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 06 Dec 2008 10:19:46 +0000 Date: Sat, 06 Dec 2008 10:20:00 -0000 From: Nicholas Mc Guire To: Michael Snyder cc: Sandeep222 , "gdb@sourceware.org" Subject: Re: store the contents of =?UTF-8?B?dGFyZ2V04oCZcyBSQU0gaW4gZnJl?= =?UTF-8?B?cXVlbnQgaW50ZXJ2YWxz?= In-Reply-To: <493979E2.90707@vmware.com> Message-ID: References: <20849726.post@talk.nabble.com> <493979E2.90707@vmware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE 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: 2008-12/txt/msg00016.txt.bz2 > Sandeep222 wrote: > > Hi, > > I would like to know if there is any possibility for adding > > functionality in GDB which could store the contents of target=E2=80=99s= RAM in > > frequent intervals into hard disk so that, when accidentally switched o= ff or > > shut down of an embedded target, we can resume the execution of the pro= gram > > from where it earlier stopped (i.e previous save point). Conceptually I= t is > > some what similar to the Hibernate function used in Windows xp, Service= pack > > 2. I was thinking of inducing this functionality for embedded targets in > > particular. This sounds like BLCR - Berkely Lab Checkpoint Restart - http://ftg.lbl.gov/CheckpointRestart/CheckpointRestart.shtml works very nice on embedded targets especially for errors that dont reproduce well or take days/weeks to appear. This is implemented as a set of loadable modules for 2.6 (up to 2.6.26 I think) This solution is though limited to GNU/Linux - so I dont know if that fits for you. hofrat