From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11636 invoked by alias); 16 Sep 2011 10:47:33 -0000 Received: (qmail 11626 invoked by uid 22791); 16 Sep 2011 10:47:33 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Sep 2011 10:47:17 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1R4Vwz-0001CO-0I from pedro_alves@mentor.com ; Fri, 16 Sep 2011 03:47:17 -0700 Received: from scottsdale.localnet ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 16 Sep 2011 11:47:14 +0100 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [doc/tracepoint] Add a note for assigning values of inferior to trace state variables Date: Fri, 16 Sep 2011 12:26:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.0; 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: <201109161147.12455.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: 2011-09/txt/msg00297.txt.bz2 On Friday 16 September 2011 09:56:36, Hui Zhu wrote: > I talk about a bug about assigning values of inferior to trace state variables > http://sources.redhat.com/ml/gdb/2011-07/msg00009.html > > this issue can be handle by convert value to (uint64_t), for example: > teval $tmp=(uint64_t)a Note trace state variables are signed, not unsigned. -- Pedro Alves