This is the mail archive of the
mailing list for the GDB project.
- 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
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
Smile.... & Make others Smile :)