Setting registers

Daniel Jacobowitz drow@false.org
Fri Jun 15 14:48:00 GMT 2007


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



More information about the Gdb mailing list