🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1176

qSupported breaks RSP packet protocol

#1176
From: tom.fowler
Date: Tue, 04 Dec 2007 15:53
34 lines
1903 bytes
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

...
Technical Details
Message-ID: <17d8bb0e-380c-4195-8005-1fd914e0fbe8@e6g2000prf.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!e6g2000prf.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f5053,8fb9c72e8636dd50,start
X-Google-Attributes: gidf5053,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!e6g2000prf.googlegroups.com!not-for-mail
From: tom.fowler@hotmail.co.uk
Newsgroups: gnu.gdb.bug
Subject: qSupported breaks RSP packet protocol
Date: Tue, 4 Dec 2007 07:53:58 -0800 (PST)
Organization: http://groups.google.com
Lines: 36
Message-ID: <17d8bb0e-380c-4195-8005-1fd914e0fbe8@e6g2000prf.googlegroups.com>
NNTP-Posting-Host: 80.176.230.172
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1196783638 16017 127.0.0.1 (4 Dec 2007 15:53:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 4 Dec 2007 15:53:58 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: e6g2000prf.googlegroups.com; posting-host=80.176.230.172; 
 posting-account=HWVB0goAAABvrEw5oawQz4pito0HwT0K
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.10) 
 Gecko/20071115 Firefox/2.0.0.10,gzip(gfe),gzip(gfe)
Content-Disposition: inline