Re: Commands for a minimal GDB stub?

Juha Aaltonen <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAHR0xd5dUNuofwKwi9wJKar5CY5MPZtAaH5=es42VivSWnNTig@mail.gmail.com>
In case it's of any help, I've been writing a bit more than minimal
bare metal standalone stub/server/agent/whatchacallit for Raspberry Pi
2B (Cortex-A7).
It might be helpful if you are wondering about details of the remote
serial protocol.
https://github.com/turboscrew/rpi_stub

On Tue, Nov 24, 2015 at 6:41 PM, Tristan Gingold <[email protected]> wrote:
>
>> On 24 Nov 2015, at 15:38, Clifford Wolf <[email protected]> wrote:
>>
>> On Tue, Nov 24, 2015 at 02:51:49PM +0100, Tristan Gingold wrote:
>>> I think the documentation is slightly incorrect.  For an almost minimal
>>> gdb stub, I have also implemented:
>>> ?, z, Z, qSupported, qC, qSymbol::, P, k, H
>>> z, Z, H, k, qSupported returned $#00.
>>>
>>> You shouldn’t be very far from having a communication.
>>
>> thanks. I've now added 'S05' as response to '?' and now I get to the point
>> where gdb actually queries the register file using the 'g' command. So I
>> think I'm now where the actual work starts..  ;)
>>
>> again, thanks a lot for your help!
>
> You’re welcome.  Note there are a few examples of stubs within gdb/stubs.
>
> Tristan.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.