This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
MIPS stub problem
- From: "Qiu Feng" <fallwind at gmail dot com>
- To: <gdb at sourceware dot org>
- Date: Wed, 17 Sep 2008 00:31:49 +0800
- Subject: MIPS stub problem
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