MIPS stub problem

Qiu Feng fallwind@gmail.com
Tue Sep 16 16:32:00 GMT 2008


Hi all,
 
I am implementing a stub for mips. I found epc always contains the position
of next instuction after the inserted "break", I wonder if PC client gdb
will take it into acount? Should I manually rollback the epc to the location
of replaced original instruction?
 
Another question, does pc side GDB only read local varibles by offset of SP
(should be $29)?
 
 
 
Best regards
Michael Qiu



More information about the Gdb mailing list