From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8300 invoked by alias); 8 Feb 2010 23:38:32 -0000 Received: (qmail 8292 invoked by uid 22791); 8 Feb 2010 23:38:32 -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:38:28 +0000 Received: (qmail 7368 invoked from network); 8 Feb 2010 23:38:26 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Feb 2010 23:38:26 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: pr9164 patch Date: Mon, 08 Feb 2010 23:38:00 -0000 User-Agent: KMail/1.9.10 Cc: Chris Moller References: <4B709B9A.3050001@redhat.com> In-Reply-To: <4B709B9A.3050001@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201002082338.27061.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-02/txt/msg00241.txt.bz2 On Monday 08 February 2010 23:17:46, 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... > Previous attempt and discussion: http://sourceware.org/ml/gdb-patches/2009-01/msg00014.html -- Pedro Alves