Is it possible, under any circumstances, to restore the state of a program to what it was during the generation of a core file?
The reason I ask is that in order to take
It is theoretically possible to do exactly what you want, but (AFAICT) there is no support for this in GDB (yet).
GDB
Your best bet is to use GDB-7.0 and use its embedded python scripting to re-implement the serialization function.
GDB-7.0