Re: GDB startup session with Eclipse

Guillaume MENANT
2007-12-19T15:30:13Z

Yes of course I've read the remote protocol chapter in the manual but I think
there is a lack of information on the GDB startup sequence and perhaps on
mandatory commands (in the manual mandatory commands are g, G, m, M, c and
s).

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.

Eclipse don't seems happy when I reply an empty reply to the '?' command but
I don't know why and if it's a problem.

Thanks. (I'm french, with pretty good english, but my misunderstanding of
the manual can come from there too)

Daniel Jacobowitz-2 wrote:
>
> On Wed, Dec 19, 2007 at 04:35:47AM -0800, Guillaume MENANT wrote:
>>
>> Hello, Eclispe send by GDB to my stub the following commands :
>>
>> qSupported
>> Hc-1 (not even found in the GDB documentation)
>> qC
>> qOffsets
>> ?
>>
>> Which one is mandatory to reply to ? Currently, I'm only replying to
>> qSupported. What is the purpose of 'qOffsets' and '?' commands ?
>
> Have you read the protocol documentation in the manual? It should
> answer these questions; if it does not, please be clearer so we can
> improve the manual.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
>

--
View this message in context: http://www.nabble.com/GDB-startup-session-with-Eclipse-tp14416165p14418949.html