From: Guillaume MENANT <guillaume.menant@geensys.com>
To: gdb@sourceware.org
Subject: Re: GDB startup session with Eclipse
Date: Wed, 19 Dec 2007 17:01:00 -0000 [thread overview]
Message-ID: <14420820.post@talk.nabble.com> (raw)
In-Reply-To: <20071219153714.GA31218@caradoc.them.org>
Thanks for your answer. Eclipse sends me the ? command and then it waits and
a message "Target selection failed" pops up and "target not responding
(timeout)" in the details of the error.
Before that, Eclispe just sends a '03' character. What does Eclipse waits ?
Another question is about characters sent by eclipse like '2d' or '2b'. What
are their purpose ?
Thanks.
Daniel Jacobowitz-2 wrote:
>
> 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
>
>
--
View this message in context: http://www.nabble.com/GDB-startup-session-with-Eclipse-tp14416165p14420820.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.
next prev parent reply other threads:[~2007-12-19 17:01 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
2007-12-19 17:01 ` Guillaume MENANT [this message]
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=14420820.post@talk.nabble.com \
--to=guillaume.menant@geensys.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