This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: store the contents of targetâs RAM in fre quent intervals
- From: Nicholas Mc Guire <hofrat at hofr dot at>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: Sandeep222 <sandeep dot srikumar at honeywell dot com>, "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Sat, 6 Dec 2008 01:12:31 -0900 (AKST)
- Subject: Re: store the contents of targetâs RAM in fre quent intervals
- References: <20849726.post@talk.nabble.com> <493979E2.90707@vmware.com>
> 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âs RAM in
> > frequent intervals into hard disk so that, when accidentally switched off or
> > shut down of an embedded target, we can resume the execution of the program
> > from where it earlier stopped (i.e previous save point). Conceptually It 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