From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17174 invoked by alias); 7 Jul 2009 03:49:56 -0000 Received: (qmail 17166 invoked by uid 22791); 7 Jul 2009 03:49:56 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Jul 2009 03:49:49 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n673nlPd004007 for ; Mon, 6 Jul 2009 23:49:47 -0400 Received: from fche.csb (vpn-10-134.bos.redhat.com [10.16.10.134]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n673nlI8005860 for ; Mon, 6 Jul 2009 23:49:47 -0400 Received: by fche.csb (Postfix, from userid 2569) id E1D57584AB; Mon, 6 Jul 2009 23:49:46 -0400 (EDT) Date: Tue, 07 Jul 2009 03:49:00 -0000 From: "Frank Ch. Eigler" To: gdb@sourceware.org Subject: remote protocol: ambiguity of 'E*' response packets Message-ID: <20090707034946.GB25935@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i 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/msg00036.txt.bz2 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? - FChE