From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4309 invoked by alias); 27 Oct 2005 02:53:45 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 4283 invoked by uid 22791); 27 Oct 2005 02:53:37 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 27 Oct 2005 02:53:37 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EUxtX-00032b-9P; Wed, 26 Oct 2005 22:53:35 -0400 Date: Thu, 27 Oct 2005 02:53:00 -0000 From: Daniel Jacobowitz To: Alan Modra Cc: gdb@sources.redhat.com Subject: Re: PR 2014, 2007, 1968, 1945, 1935, 1865, 1823 Message-ID: <20051027025335.GA11566@nevyn.them.org> Mail-Followup-To: Alan Modra , gdb@sources.redhat.com References: <20051027011411.GS17244@bubble.grove.modra.org> <20051027020124.GA10568@nevyn.them.org> <20051027025052.GT17244@bubble.grove.modra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051027025052.GT17244@bubble.grove.modra.org> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-10/txt/msg00150.txt.bz2 On Thu, Oct 27, 2005 at 12:20:52PM +0930, Alan Modra wrote: > On Wed, Oct 26, 2005 at 10:01:24PM -0400, Daniel Jacobowitz wrote: > > Oh, while you're in the area: ISTR finding that BFD was missing > > O_LARGEFILE somewhere that GDB had it. So if GDB opened the core file, > > and then BFD closed and reopened it, the open would fail. > > Yes, there was a silly check in bfd_cache_lookup_worker that tested for > abfd->where being in unsigned long range. That's gone, but I guess > there might be other places similarly broken. No, I meant this literally: gdb/corelow.c:bfd_open uses O_LARGEFILE, and nothing in BFD does. This means that BFD can't open 4GB files on some 32-bit environments. -- Daniel Jacobowitz CodeSourcery, LLC