This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: General Query Packets: custom vendor packets
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paralkar Anmol-B07584 <B07584 at freescale dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>, Trofimova Ekaterina-R2AAKQ <R2AAKQ at freescale dot com>
- Date: Tue, 25 Sep 2012 11:40:44 -0400
- Subject: Re: General Query Packets: custom vendor packets
- References: <DC6D7B34688246489A6578981A5ADEB9147A49@039-SN2MPN1-013.039d.mgd.msft.net>
On Mon, Sep 24, 2012 at 3:51 PM, Paralkar Anmol-B07584
<B07584@freescale.com> 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)."
>
> 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.
Usually, you do it by patching GDB. You could also try the "maint
packet" command from your GDB scripts:
http://sourceware.org/gdb/onlinedocs/gdb/Maintenance-Commands.html
--
Thanks,
Daniel