This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [RFA] Large corefile support; Was: [wip]


Andrew Cagney <cagney@gnu.org> writes:

> Here's todays version.  It now uses autoconf magic to hard-wire the
> underlying type of file_ptr.  I've used the heuristic:
> 
> if fseeko64 && ftello64
> 	there must be off64_t
> 	make file_ptr 64-bit
> else if fseeko && ftello
> 	there must be off_t >= sizeof long
> 	make file_ptr 64-bit (if off_t is 8) or long otherwize
> else
> 	make file_ptr long
> fi
> 
> I've called the internal functions "real_fseek" and "real_fread" (to
> match real_read).  The header "bfdio.h" makes them available to
> "cache.c".
> 
> My bigcore GDB testcase (along with the rest of the GDB testsuite look
> ok).  Need to double check the binutils testsuite.
> 
> After that, ok?

No need to create bfdio.h.  Just put the declarations in libbfd-in.h.
They will wind up in libbfd.h.

Otherwise this is OK.  Thanks.

Ian


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