From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24602 invoked by alias); 17 Feb 2010 20:33:42 -0000 Received: (qmail 24591 invoked by uid 22791); 17 Feb 2010 20:33:42 -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; Wed, 17 Feb 2010 20:33:39 +0000 Received: (qmail 24448 invoked from network); 17 Feb 2010 20:33:37 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 Feb 2010 20:33:37 -0000 Date: Wed, 17 Feb 2010 20:33:00 -0000 From: Daniel Jacobowitz To: "H.J. Lu" Cc: GDB Subject: Re: PATCH: PR shlibs/11293: gdb is broken on Linux/i386 Message-ID: <20100217203308.GA20495@caradoc.them.org> Mail-Followup-To: "H.J. Lu" , GDB References: <20100217201031.GA24995@lucon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100217201031.GA24995@lucon.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: 2010-02/txt/msg00442.txt.bz2 On Wed, Feb 17, 2010 at 12:10:31PM -0800, H.J. Lu wrote: > - if (addr_bit < (sizeof (ULONGEST) * HOST_CHAR_BIT)) > + if (addr_bit < (sizeof (CORE_ADDR) * HOST_CHAR_BIT)) > { > CORE_ADDR space_size = (ULONGEST) 1 << addr_bit; Please change this line also. -- Daniel Jacobowitz CodeSourcery