ARM: where are special registers?

Daniel Jacobowitz
Tue Jul 8 22:33:00 GMT 2008

On Tue, Jul 08, 2008 at 05:38:55PM +0400, Dmitry Smirnov wrote:
> I've found in ch.11.1 at :
> <quote>
> A description may come from a user specified file (XML), the remote `qXfer:features:read' packet (also XML), or from any custom to_read_description routine in the target vector. For instance, the remote target supports guessing whether a MIPS target is 32-bit or 64-bit based on the size of the `g' packet.
> <quote/>
> Is there any example of this XML?

There are several in the manual, and in the GDB source directory

> What remote stub shall respond to "qXfer:features:read"? Just this XML content?
> Am I right that before GDB asks for "qXfer:features:read", I shall implement "qSupported" handling in a stub with this "qXfer:features:read" as a response?

Take a look at the rmeote protocol section of the manual, which is
referenced from that chapter; it explains the details.

Daniel Jacobowitz

More information about the Gdb mailing list