From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12163 invoked by alias); 16 Sep 2011 20:27:40 -0000 Received: (qmail 12152 invoked by uid 22791); 16 Sep 2011 20:27:38 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Sep 2011 20:27:22 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 1BB412BB052; Fri, 16 Sep 2011 16:27:22 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OFj8YH2lD0OU; Fri, 16 Sep 2011 16:27:22 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D92692BAF3C; Fri, 16 Sep 2011 16:27:21 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id CBEF6145615; Fri, 16 Sep 2011 16:27:12 -0400 (EDT) Date: Fri, 16 Sep 2011 20:37:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: Hui Zhu , gdb-patches@sourceware.org Subject: Re: [doc/tracepoint] Add a note for assigning values of inferior to trace state variables Message-ID: <20110916202712.GB17681@adacore.com> References: <83iposvn2o.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83iposvn2o.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2011-09/txt/msg00323.txt.bz2 > > this issue can be handle by convert value to (uint64_t), for example: > > teval $tmp=(uint64_t)a > > Isn't this specific to the platform where this runs? I don't think we > should have platform-specific information, and such minor details at > that, in general sections. One of the things that struck me when I read the diff is that I asked myself why this conversion is necessary. The patch is only a small piece of the documentation, so perhaps the reasons are clear already. But otherwise, it might be worth explaining. -- Joel