This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 2014, 2007, 1968, 1945, 1935, 1865, 1823


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]