From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15510 invoked by alias); 15 Aug 2010 18:47:05 -0000 Received: (qmail 15498 invoked by uid 22791); 15 Aug 2010 18:47:05 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 15 Aug 2010 18:47:00 +0000 Received: (qmail 21333 invoked from network); 15 Aug 2010 18:46:58 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 15 Aug 2010 18:46:58 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [RFA/RFC] tracepoint gdbrsp: add -1 introduce for QTFrame:@var{n} Date: Sun, 15 Aug 2010 18:47:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.33-29-realtime; KDE/4.4.2; x86_64; ; ) Cc: Hui Zhu , Eli Zaretskii References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008151946.55330.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00214.txt.bz2 On Sunday 15 August 2010 08:16:34, Hui Zhu wrote: > Sending packet: $QTFrame:ffffffff#fa...Packet received: OK I think it is a bug that this is assuming 32-bit, two's complement on both client/server sides. (not sure it that was what you were referring to). IMO, negatives should have an explicit '-' encoding; in this case, "$QTFrame:-1". Note sure if the RSP docs mention something about this. We are careful in some cases (passing thread id's, I think, is one case), though clearly not everywhere. -- Pedro Alves