public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* warning: garbage in qC reply
@ 2018-11-19 16:34 Mathieu Tarral
  2018-11-19 17:04 ` Emiliano Testa
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Tarral @ 2018-11-19 16:34 UTC (permalink / raw)
  To: gdb

Hi,

I'm writing a new GDB stub in Python, and while implementing
each command that is sent to me by the GDB client during
the attach phase, I'm facing an issue with the qC command:

GDB is asking me to set the current thread-id to -1, with Hc-1
and immediately after it query the current thread id, with qC
I return -1 with QC-1, and I get a warning:

Sending packet: $Hc-1#09...Ack
Packet received: OK
Sending packet: $qC#b4...Ack
Packet received: QC-1
warning: garbage in qC reply

Is -1 an invalid thread-id syntax for qC ?

Thanks !
--
Mathieu Tarral

Sent with ProtonMail Secure Email.


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

end of thread, other threads:[~2018-11-19 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-19 16:34 warning: garbage in qC reply Mathieu Tarral
2018-11-19 17:04 ` Emiliano Testa

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).