public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* General Query Packets: custom vendor packets
@ 2012-09-24 19:51 Paralkar Anmol-B07584
  2012-09-25 15:41 ` Daniel Jacobowitz
  2012-09-28 12:35 ` Pedro Alves
  0 siblings, 2 replies; 3+ messages in thread
From: Paralkar Anmol-B07584 @ 2012-09-24 19:51 UTC (permalink / raw)
  To: gdb; +Cc: Trofimova Ekaterina-R2AAKQ

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.

Thanks,
Anmol P. Paralkar

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: General Query Packets: custom vendor packets
  2012-09-24 19:51 General Query Packets: custom vendor packets Paralkar Anmol-B07584
@ 2012-09-25 15:41 ` Daniel Jacobowitz
  2012-09-28 12:35 ` Pedro Alves
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2012-09-25 15:41 UTC (permalink / raw)
  To: Paralkar Anmol-B07584; +Cc: gdb, Trofimova Ekaterina-R2AAKQ

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: General Query Packets: custom vendor packets
  2012-09-24 19:51 General Query Packets: custom vendor packets Paralkar Anmol-B07584
  2012-09-25 15:41 ` Daniel Jacobowitz
@ 2012-09-28 12:35 ` Pedro Alves
  1 sibling, 0 replies; 3+ messages in thread
From: Pedro Alves @ 2012-09-28 12:35 UTC (permalink / raw)
  To: Paralkar Anmol-B07584; +Cc: gdb, Trofimova Ekaterina-R2AAKQ

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-28 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24 19:51 General Query Packets: custom vendor packets Paralkar Anmol-B07584
2012-09-25 15:41 ` Daniel Jacobowitz
2012-09-28 12:35 ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).