This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB commands and GDB protocol


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.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]