This is the mail archive of the
mailing list for the GDB project.
HOWTO for writing an RSP server
- From: Jeremy Bennett <jeremy dot bennett at embecosm dot com>
- To: gdb at sourceware dot org
- Date: Thu, 13 Nov 2008 18:13:21 +0000
- Subject: HOWTO for writing an RSP server
- Reply-to: jeremy dot bennett at embecosm dot com
I've just completed writing a RSP server for the OpenRISC 1000
I drew on the information in the GDB User Guide, but discovered that the
stubs supplied with the distribution and their instructions are several
years out of date. However by working through the GDB source code and
with assistance from contributors on the GDB IRC channel, I was
I've written up my experience as a HOWTO for implementing an RSP server.
I hope it will complement the existing documentation. In particular I've
tried to capture how various GDB commands map into a sequence of RSP
packet exchanges. I've used examples from the OpenRISC 1000 as
illustration. It's at:
I hope this is a useful contribution. I'd welcome feedback and any
suggestions for how this document could be improved.
Tel: +44 (1202) 416955
Cell: +44 (7970) 676050