This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Setting registers
- From: Indira <yoursindu at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 13 Jun 2007 15:58:00 +0530
- Subject: Setting registers
Hi,
I was writing a macro in which i was trying to the variable ebp and eip as,
set variable $ebp = *(int *)($sp+8)
set variable $eip = *(int *)($sp+36)
but, even though by doing this th eregister values dont get updated.
Why is this so? Can anyone help me on this?
Thanks in advance
--
Indu :)
Smile.... & Make others Smile :)