Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: GDB commands and GDB protocol
@ 2007-10-11 13:00 Guillaume MENANT
  2007-10-11 13:08 ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Guillaume MENANT @ 2007-10-11 13:00 UTC (permalink / raw)
  To: gdb

Thanks a lot for your answers. Another question : Where does GDB will 
get information about the standard internal registers of my chip (a 
SPARC V8 in my case) ?

Guillaume Menant


Daniel Jacobowitz a écrit :
> On Thu, Oct 11, 2007 at 02:41:17PM +0200, Guillaume MENANT wrote:
>   
>> 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 ?
>>     
>
> The Overview at the top of that page describes the 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 ?
>>     
>
> The standard registers, like sp and pc, Eclipse will get the names
> directly from GDB.  It's only if you have extra board-specific or
> core-specific registers that you need to deal with XML descriptions.
>
>   


^ permalink raw reply	[flat|nested] 7+ messages in thread
* GDB commands and GDB protocol
@ 2007-10-11  8:13 Guillaume MENANT
  2007-10-11 12:13 ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Guillaume MENANT @ 2007-10-11  8:13 UTC (permalink / raw)
  To: gdb

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.
Thanks.
-- 

Guillaume Menant

----------------------------------------------------------------

*Ingénieur d’étude– /Software Engineer/**//*

La Fleuriaye – Rue Alessandro Volta – BP 50 758

44 481 Carquefou Cedex

*Tél** : +33 (0)2 53 46 00 70***

*Mobile : +33 (0)6 88 88 74 74*

*/mailto:guillaume.menant@geensys.com/**//*

http://www.geensys.com <http://www.geensys.com/>

----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-12 11:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-11 13:00 GDB commands and GDB protocol Guillaume MENANT
2007-10-11 13:08 ` Daniel Jacobowitz
     [not found]   ` <470F23AB.5000307@geensys.com>
2007-10-12 11:55     ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2007-10-11  8:13 Guillaume MENANT
2007-10-11 12:13 ` Daniel Jacobowitz
2007-10-11 12:41   ` Guillaume MENANT
2007-10-11 12:53     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox