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


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.



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