[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
qSupported breaks RSP packet protocol
From: |
tom . fowler |
Subject: |
qSupported breaks RSP packet protocol |
Date: |
Tue, 4 Dec 2007 07:53:58 -0800 (PST) |
User-agent: |
G2/1.0 |
This comment applies to gdb 6.7 built for an ARM ELF target on both
Linux and Windows(minGW).
Recent GDBs appear to contravene the RSP protocol by issuing the
"qSupported" command (from remote.c: remote_query_supported( )) before
the channel is initialized by remote_start_remote( ).
The effect is that the following sequence of bytes are emitted
immediately after connection:
->
$qSupported#37
<-
+$#00
->
++$Hc-1#09
i.e. There is a spurious second "+" ACK before the "Hc-1" command. In
previous versions there was no "qSupported" command, so
remote_start_remote( ) was the first writer to the RSP channel and the
first bytes written to the channel were:
->
+$Hc-1#09
<-
+$#00
->
+$qC#b4
...
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- qSupported breaks RSP packet protocol,
tom . fowler <=