store the contents of target’s RAM in frequent intervals
Nicholas Mc Guire
hofrat@hofr.at
Sat Dec 6 10:20:00 GMT 2008
> 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
More information about the Gdb
mailing list