From: Guillaume MENANT <guillaume.menant@geensys.com>
To: gdb@sourceware.org
Subject: Re: GDB startup session with Eclipse
Date: Wed, 19 Dec 2007 18:02:00 -0000 [thread overview]
Message-ID: <14422110.post@talk.nabble.com> (raw)
In-Reply-To: <20071219170714.GA4495@caradoc.them.org>
Thanks. I've seen this part about the '+' and '-' but I haven't realized that
it was in both sides :-/ Here is the current conversation between my
software (<-) and GDB controlled by Eclipse (->) :
-> 'qSupported'
<- 'qXfer:memory-map:read+'
-> '-'
-> '-'
-> '-'
-> '+'
-> '+'
-> 'Hc-1'
<- ''
-> '+'
-> 'qC'
<- ''
-> '+'
-> 'qOffsets'
<- ''
-> '+'
-> '?'
<- ''
-> '+'
-> '3' (just after this one an error occurs in Eclipse)
I don't support '-' and '+' from GDB for now but I don't understand why it
sends me 3 '-' and then 2 '+'.
I will test directly with GDB in remote mode in order to see if I have the
same issues.
Thanks.
Daniel Jacobowitz-2 wrote:
>
> On Wed, Dec 19, 2007 at 09:01:02AM -0800, Guillaume MENANT wrote:
>>
>> 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
>> ?
>
> I don't know. To stop the target if it's running? \003 is an
> interrupt. Still, it shouldn't be doing this.
>
> Eclipse does not send anything. Eclipse is running GDB in the
> background. Try reproducing problems using GDB from the command line,
> and then you can turn on remote protocol debugging to follow the
> conversation.
>
>> Another question is about characters sent by eclipse like '2d' or '2b'.
>> What
>> are their purpose ?
>
> Those are + and -. Read the Overview section, where it talks about
> acknowledgements.
>
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
>
--
View this message in context: http://www.nabble.com/GDB-startup-session-with-Eclipse-tp14416165p14422110.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.
next prev parent reply other threads:[~2007-12-19 18:02 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
2007-12-19 17:07 ` Daniel Jacobowitz
2007-12-19 18:02 ` Guillaume MENANT [this message]
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=14422110.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