Re: Commands for a minimal GDB stub?
Tristan Gingold <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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.