General Query Packets: custom vendor packets

Pedro Alves palves@redhat.com
Fri Sep 28 12:35:00 GMT 2012


On 09/24/2012 08:51 PM, Paralkar Anmol-B07584 wrote:
> Hello,
> 
>  Per, E.4 General Query Packets in the GDB User Manual:
> 
>  "The names of custom vendor packets should use a company prefix, in lower case,
>   followed by a period. For example, packets designed at the Acme Corporation
>   might begin with `qacme.foo' (for querying foos) or `Qacme.bar' (for setting bars)."

This is just a naming convention to avoid conflicts with future official packets.

>  How does one get GDB to send a Qacme.bar-packet on the RSP? We need to be able to send
>  such a set packet - after doing a 'target remote' and before GDB sends a 'g'-packet.

You'll have to patch GDB.

-- 
Pedro Alves



More information about the Gdb mailing list