From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6642 invoked by alias); 8 Feb 2010 23:34:17 -0000 Received: (qmail 6631 invoked by uid 22791); 8 Feb 2010 23:34:17 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS 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; Mon, 08 Feb 2010 23:34:13 +0000 Received: (qmail 5358 invoked from network); 8 Feb 2010 23:34:12 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Feb 2010 23:34:12 -0000 Date: Mon, 08 Feb 2010 23:34:00 -0000 From: Daniel Jacobowitz To: Chris Moller Cc: gdb-patches@sourceware.org Subject: Re: pr9164 patch Message-ID: <20100208233407.GA30829@caradoc.them.org> Mail-Followup-To: Chris Moller , gdb-patches@sourceware.org References: <4B709B9A.3050001@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B709B9A.3050001@redhat.com> 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: 2010-02/txt/msg00240.txt.bz2 On Mon, Feb 08, 2010 at 06:17:46PM -0500, Chris Moller wrote: > I was rooting around in the gdb c++ bug list a bit ago and came > across this one: "sizeof should have unsigned type in print > expressions." Assuming that, as in C/C++, size_t is typedeffed from > unsigned int, the fix is a one-line patch in c-exp.y, attached. If > that assumption is wrong, well, never mind... Try it on x86_64 - size_t is platform dependent, and it's often unsigned long. -- Daniel Jacobowitz CodeSourcery