Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: "Dominique Toupin (QA/EMC)" <dominique.toupin@ericsson.com>
Cc: gdb@sourceware.org
Subject: Re: gdb remote stub for proprietary operating system?
Date: Tue, 23 Jan 2007 22:57:00 -0000	[thread overview]
Message-ID: <20070123225709.GA3793@nevyn.them.org> (raw)
In-Reply-To: <67048CBE51B1644D89DDD3B7C9F2D19E02EDE60E@ecamlmw720.eamcs.ericsson.se>

On Tue, Jan 23, 2007 at 05:45:36PM -0500, Dominique Toupin (QA/EMC) wrote:
> Hi,
> 
> I have this info
> http://sourceware.org/gdb/current/onlinedocs/gdb_18.html#SEC165, when
> they say we can ignore the details I was hopping we could ignore the
> communication protocol.
> Do we have documentation other than sparc-stub.c?

That is not a good place to look for an OS stub.  Look at the appendix
which documents the communication protocol - I think it's Appendix D. 
You will almost certainly need to write your own implementation of
that, connected to your proprietary debug interface.  And it will give
you a good idea of what is expected of a remote stub.

If you have threads, you'll probably want vCont.  You'll need at least
g/G and m/M (or X).  If you have code in non-writeable or shared
memory, you'll need the z/Z packets.  And so forth.

> If you have to choose between 3 months, 6 months, 1 year, 2 years, what
> would be the guess for how long it would take 1 person to implement the
> remote stub to support all the GDB/MI commands?

It depends on the questions I asked, and the experience of the people
working on the project.  It is probably more like a six month project
than like a one year project.

Of course, if you need a better estimate than that, there are a number
of companies who can do this sort of project :-)

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2007-01-23 22:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-23 21:17 Dominique Toupin (QA/EMC)
2007-01-23 21:46 ` Daniel Jacobowitz
2007-01-23 22:46   ` Dominique Toupin (QA/EMC)
2007-01-23 22:57     ` Daniel Jacobowitz [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=20070123225709.GA3793@nevyn.them.org \
    --to=drow@false.org \
    --cc=dominique.toupin@ericsson.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