This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]