Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Guillaume MENANT <guillaume.menant@geensys.com>
Cc: gdb@sourceware.org
Subject: Re: GDB startup session with Eclipse
Date: Wed, 19 Dec 2007 15:37:00 -0000	[thread overview]
Message-ID: <20071219153714.GA31218@caradoc.them.org> (raw)
In-Reply-To: <14418949.post@talk.nabble.com>

On Wed, Dec 19, 2007 at 07:30:04AM -0800, Guillaume MENANT wrote:
> For now, I've implemented the qSupported command because I want the flash
> support but qC, qOffsets and ? don't seems mandatory to me. I don't know
> what is the Hc-1 command too.

I think ? is mandatory, at least, I have no idea what will happen when
you connect GDB if you don't support it.  GDB tries to figure out
the state of the target when it connects.

qOffsets and qC are not needed unless you want to support the things
they describe:

`qOffsets'
     Get section offsets that the target used when relocating the
     downloaded image.

and

`qC'
     Return the current thread id.

So if you are not relocating your target image, and you do not need
thread support, you don't need these.

There is currently no how-to chapter in the protocol documentation.
That would be a nice addition.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-12-19 15:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-19 12:35 Guillaume MENANT
2007-12-19 13:55 ` Daniel Jacobowitz
2007-12-19 15:30   ` Guillaume MENANT
2007-12-19 15:37     ` Daniel Jacobowitz [this message]
2007-12-19 17:01       ` Guillaume MENANT
2007-12-19 17:07         ` Daniel Jacobowitz
2007-12-19 18:02           ` Guillaume MENANT
2007-12-19 18:40             ` Daniel Jacobowitz
2008-01-17  9:56               ` Guillaume MENANT
     [not found]                 ` <14923786.post@talk.nabble.com>
2008-01-17 18:00                   ` Vladimir Prus
2008-01-18  7:53                     ` Guillaume MENANT

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=20071219153714.GA31218@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=guillaume.menant@geensys.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