* gdb cannot set registers in frames
@ 2005-12-07 1:18 Sp3cial K
2005-12-07 2:30 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Sp3cial K @ 2005-12-07 1:18 UTC (permalink / raw)
To: gdb
Hi,
I've encountered this strangeness a couple of times, so this should be
easily reproduced. If not, I'll post a test sample.
The gdb version is 5.3...
1. switch to a frame other than the inner-most frame (f 1, f 2, f 3, etc...
just not f 0)
2. print register
3. set registers (particularly ebp and eip) to some other value
4. print register, what shows here is the value from step 2 (the set command
from step 3 did not change the register)
However, if you switch to the inner-most frame (f 0), then setting the
register will change the register value.
Please help!
~k
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gdb cannot set registers in frames
2005-12-07 1:18 gdb cannot set registers in frames Sp3cial K
@ 2005-12-07 2:30 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-12-07 2:30 UTC (permalink / raw)
To: Sp3cial K; +Cc: gdb
On Tue, Dec 06, 2005 at 08:18:04PM -0500, Sp3cial K wrote:
> Hi,
>
> I've encountered this strangeness a couple of times, so this should be
> easily reproduced. If not, I'll post a test sample.
>
> The gdb version is 5.3...
Is that a typo, or are you really using GDB 5.3? If so, we can't help
you; all the frame and register bits have been completely redone since
then, and much improved.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-07 2:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-07 1:18 gdb cannot set registers in frames Sp3cial K
2005-12-07 2:30 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox