Setting registers

Indira yoursindu@gmail.com
Wed Jun 13 10:28:00 GMT 2007


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 :)



More information about the Gdb mailing list