[RFA] Large corefile support; Was: [wip]
Ian Lance Taylor
ian@wasabisystems.com
Tue Jan 20 01:47:00 GMT 2004
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
More information about the Binutils
mailing list