This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Setting registers
On Fri, Jun 15, 2007 at 10:41:38AM -0400, Paul Koning wrote:
> Sometimes it would be useful to be able to. If the stack is corrupt,
> or the return address (for processor types that have such a thing) and
> you can figure out the correct values, it would be very handy to be
> able to tell gdb "here is the right value" and let it use that for
> subsequent analysis.
We do get requests for this so frequently that I'm tempted to allow
modifiable registers... memory, though, would be hard.
--
Daniel Jacobowitz
CodeSourcery