Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jeremy Bennett <jeremy.bennett@embecosm.com>
To: gdb@sourceware.org
Subject: HOWTO for writing an RSP server
Date: Thu, 13 Nov 2008 18:14:00 -0000	[thread overview]
Message-ID: <1226600001.2943.149.camel@thomas> (raw)

I've just completed writing a RSP server for the OpenRISC 1000
architecture.

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
successful.

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:

        http://www.embecosm.com/download/ean4.html

I hope this is a useful contribution. I'd welcome feedback and any
suggestions for how this document could be improved.


Jeremy

-- 
Tel:      +44 (1202) 416955
Cell:     +44 (7970) 676050
SkypeID: jeremybennett
Email:   jeremy.bennett@embecosm.com
Web:     www.embecosm.com



             reply	other threads:[~2008-11-13 18:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13 18:14 Jeremy Bennett [this message]
2008-11-13 20:28 ` Joel Brobecker
2008-11-14  9:15   ` Jeremy Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1226600001.2943.149.camel@thomas \
    --to=jeremy.bennett@embecosm.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox