[Top]
[First]
[Previous]
[Next (
where have my source files gone?
)]
[nexttoC]
I Want To Do This - Again!
You can ask gdb to save a "checkpoint":
checkpoint
After stepping forward and finding you've gone further then you wanted, switch back to the checkpoint:
restart <checkpoint id>
To see the list of active check-points:
info checkpoints
What a checkpoint does: forks off a copy of the program, so gdb will be able to switch back to it later on.
To delete checkpoints:
delete checkpoint <checkpoint id>
Originally written by
guy keren