This is the mail archive of the
mailing list for the binutils project.
Re: [RFA] Large corefile support; Was: [wip]
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: Andrew Cagney <ac131313 at redhat dot com>, binutils at sources dot redhat dot com
- Date: 19 Jan 2004 20:47:21 -0500
- Subject: Re: [RFA] Large corefile support; Was: [wip]
- References: <400877DC.firstname.lastname@example.org> <400C8647.email@example.com>
Andrew Cagney <firstname.lastname@example.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
> make file_ptr long
> I've called the internal functions "real_fseek" and "real_fread" (to
> match real_read). The header "bfdio.h" makes them available to
> 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.