This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: remote/2560: valid reponse packet can be treated as 'ENN'error packet


The following reply was made to PR remote/2560; it has been noted by GNATS.

From: "Richard Stuckey" <Richard.Stuckey@arc.com>
To: "Daniel Jacobowitz" <drow@false.org>
Cc: <gdb-gnats@sources.redhat.com>
Subject: RE: remote/2560: valid reponse packet can  be treated as 'ENN'error packet
Date: Tue, 2 Dec 2008 17:22:38 -0000

 Yes, it was getting a register frame: the first hex digit for the first
 register was 'E' !
 
 Good idea about the lowercase.
 
     Thanks
 
 -----Original Message-----
 From: Daniel Jacobowitz [mailto:drow@false.org]=20
 Sent: 02 December 2008 17:19
 To: Richard Stuckey
 Cc: gdb-gnats@sources.redhat.com
 Subject: Re: remote/2560: valid reponse packet can be treated as
 'ENN'error packet
 
 On Tue, Dec 02, 2008 at 05:04:33PM -0000, richard.stuckey@arc.com wrote:
 > This test is too weak: if the response packet contains valid data
 which happens to begin with an 'E' then it will be incorrectly treated
 as an error.
 
 remote_send is only used in four cases: p/P and g/G.  If you
 encountered it in one of those, I suggest sending back lowercase
 hex rather than uppercase hex.
 
 That does not invalidate your correct report; merely a suggestion.
 
 --=20
 Daniel Jacobowitz
 CodeSourcery
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]