[RFA] Large corefile support; Was: [wip]
Andrew Cagney
cagney@gnu.org
Tue Jan 20 01:37:00 GMT 2004
Hello,
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?
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <https://sourceware.org/pipermail/binutils/attachments/20040120/9910bbe3/attachment.ksh>
More information about the Binutils
mailing list