GDB commands and GDB protocol

Guillaume MENANT guillaume.menant@geensys.com
Thu Oct 11 12:41:00 GMT 2007


I've found this page : 
http://sources.redhat.com/gdb/onlinedocs/gdb_33.html#SEC679
I still have some questions :
- We just have to handle commands from the page above to manage the GDB 
protocol (in TCP) ? The is no specific encapsulation ?
- How does Eclipse will know internal registers of my chip (registers 
like sp, pc,  ...) ? Using qXfer and a XML file ? Is it mandatory for a 
debugger to know internal registers ?

Guillaume Menant


Daniel Jacobowitz a écrit :
> On Thu, Oct 11, 2007 at 10:13:20AM +0200, Guillaume MENANT wrote:
>   
>> Hello, I'm replacing a proprietary application (GRMON) by a free GDB wrapper 
>> (to make the link between GDB protocol and a specific one used by GRMON)
>> In order to do this, I'm seeking a document which would explain the GDB 
>> protocol (TCP link) and all mandatory commands in order to interface my 
>> application with Eclipse+CDT.
>>     
>
> There is documentation of the remote protocol in the manual.  If
> there's anything unclear about it, please ask here so we can improve
> the documentation.
>
>   



More information about the Gdb mailing list