From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1500 invoked by alias); 7 Jul 2009 10:05:35 -0000 Received: (qmail 1491 invoked by uid 22791); 7 Jul 2009 10:05:34 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Jul 2009 10:05:28 +0000 Received: (qmail 27471 invoked from network); 7 Jul 2009 10:05:27 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 7 Jul 2009 10:05:27 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: remote protocol: ambiguity of 'E*' response packets Date: Tue, 07 Jul 2009 10:05:00 -0000 User-Agent: KMail/1.9.10 Cc: "Frank Ch. Eigler" References: <20090707034946.GB25935@redhat.com> In-Reply-To: <20090707034946.GB25935@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907071106.15759.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00040.txt.bz2 On Tuesday 07 July 2009 04:49:46, Frank Ch. Eigler wrote: > Hi - > > For the 'g' and 'm' query packets, it seems like a response packet > starting with "$E..." is entirely valid, if the register contents or > memory region starts with a 0xE0-0xEF byte. But remote.c:remote_send() > seems to interpret $E... anything as an error, and send_g_packet() uses > this one. > > Am I misreading the code or the specs? Have the stub return lowercase hex digits [0-9a-z], like 0xe0-0xef to work around it. This is http://sourceware.org/bugzilla/show_bug.cgi?id=9665 -- Pedro Alves