From: Christo Crause <christo.crause@gmail.com>
To: Luis Machado <luis.machado@linaro.org>
Cc: William Tambe <tambewilliam@gmail.com>, gdb@sourceware.org
Subject: Re: porting gdbserver
Date: Fri, 16 Oct 2020 08:25:32 +0200 [thread overview]
Message-ID: <CAGOmfbFj7MbnMhrS83t77rrg26UkqEE2i-Kb8tFQU=LvOWF2-Q@mail.gmail.com> (raw)
In-Reply-To: <2e91d8ee-00e0-1fe8-f2f3-9ee483319a70@linaro.org>
On Thu, 15 Oct 2020, 20:24 Luis Machado via Gdb, <gdb@sourceware.org> wrote:
> Hi,
>
> On 10/15/20 1:34 PM, William Tambe via Gdb wrote:
> > Is there an easy to follow documentation or commit that shows how to port
> > gdbserver for baremetal ?
> >
>
> I'm afraid there isn't. I suppose you are talking about actually coming
> up with a debugging stub that implements the most minimal set of remote
> protocol packets, right? Not "gdbserver" itself, which is always OS-hosted.
An example of a bare metal stub on an 8 bit AVR:
https://github.com/jdolinay/avr_debug
The remote protocol handling is implemented here
https://github.com/jdolinay/avr_debug/blob/master/avr8-stub/avr8-stub.c
prev parent reply other threads:[~2020-10-16 6:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-15 16:34 William Tambe
2020-10-15 18:23 ` Luis Machado
2020-10-16 6:25 ` Christo Crause [this message]
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='CAGOmfbFj7MbnMhrS83t77rrg26UkqEE2i-Kb8tFQU=LvOWF2-Q@mail.gmail.com' \
--to=christo.crause@gmail.com \
--cc=gdb@sourceware.org \
--cc=luis.machado@linaro.org \
--cc=tambewilliam@gmail.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).