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 porting GDB published
Date: Tue, 02 Sep 2008 10:53:00 -0000	[thread overview]
Message-ID: <1220352763.2870.178.camel@thomas> (raw)

I've just completed porting GDB 6.8 to the OpenRISC 1000 architecture.
This was an exercise originally done for GDB 5.0 and 5.3, but which has
since languished.

I achieved this by using the GDB Internals manual, looking at ports of
other architectures, and a great deal of poring over the GDB source.

I realized that there is no proper guide for an engineer porting GDB for
the first time. The GDB Internals manual is aimed at developers of GDB
itself, not porters - it is also not yet complete. Looking at ports for
other architectures helps - but which is the best one, and does it have
similar features?

But I got there in the end, thanks to the generous advice from
contributors to this mailing list and the GDB IRC channel. To help
others, I have written up what I did as a HOWTO manual for porting GDB,
using the OpenRISC 1000 port for examples. It's at

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

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

For those interested in the OpenRISC 1000 port itself, this is available
at

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

I've also included a Doxygen analysis, giving the documentation of all
functions in the port and their calling and dependency graphs.

I look forward to your feedback.


Jeremy

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



             reply	other threads:[~2008-09-02 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 10:53 Jeremy Bennett [this message]
2008-09-03 15:38 ` Robert Norton
2008-09-09  4:18 ` Joel Brobecker
2008-09-09  7:01   ` Jeremy Bennett
2008-09-13 23:09   ` Thiago Jung Bauermann
     [not found] ` <1221346443.28258.50.camel@localhost.localdomain>
2008-09-16  9:39   ` Jeremy Bennett
2010-03-23  4:49 ` arm-none-linux-gnuabi - sim support? Reddy, MR Swami

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=1220352763.2870.178.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