GDB startup session with Eclipse
Guillaume MENANT
guillaume.menant@geensys.com
Wed Dec 19 18:02:00 GMT 2007
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.
More information about the Gdb
mailing list