[Patch, microblaze]: Add support of microblaze software single stepping

Michael Eager eager@eagercon.com
Fri Jul 11 20:58:00 GMT 2014

On 07/11/14 12:34, Ajit Kumar Agarwal wrote:

>>> Please also explain how this patch was tested.
> The changes were tested with the application for barematel with remote debug with XMD debugger( internal to Xilinx)which connects to the target and opens the gdbserver connection. Single stepping command were used for next_pc in straight line code, with imm instruction and the branch with delay Slot.

Your terminology may be a bit confusing.  Gdbserver
is a program (part of GDB) which runs on a platform (e.g.
Linux), and which implements the GDB Remote Serial Protocol.
XMD does not run gdbserver.  It has an independent implementation
of the GDB Remote Serial Protocol.  It would be better to
say that XMD is a remote stub.

Please provide a disassembly of the test case and
a log of the commands to gdb and gdb's output, showing
stepping over imm and delay slot instructions.

Is there a test case which shows single stepping failing
without the patch?

Even better would be to update the gdb regression
test suite with the test case.

Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

More information about the Gdb-patches mailing list