This is the mail archive of the
mailing list for the GDB project.
Re: Setting registers
> Date: Fri, 15 Jun 2007 18:25:53 +0530
> From: Indira <email@example.com>
> Cc: firstname.lastname@example.org
> Yes I am debuggin a core file. We cant set registers while debuggin a core file?
No, you can't. The program is dead, all you have is the last snapshot
of its memory. Even if you could set registers (and other variables),
it would be of no practical use, since you cannot run the program.
All you can do is examine its memory and call stack.