This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] fix BFD's core support on FreeBSD 4.[2-9]
- From: Ian Lance Taylor <ian at airs dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: obrien at FreeBSD dot org, GNU Binutils mailing list <binutils at sources dot redhat dot com>
- Date: 31 Jan 2002 22:08:35 -0800
- Subject: Re: [PATCH] fix BFD's core support on FreeBSD 4.[2-9]
- References: <20020131090234.A97584@dragon.nuxi.com><3C597A65.1000702@cygnus.com>
Andrew Cagney <ac131313@cygnus.com> writes:
> > This patch is needed by GDB to properly configure and build on FreeBSD
> > 4.2 and later.
>
>
> Hmm, there an underlying problem with BFD here? To me it looks wrong
> to be deciding which core file support will be included using
> configure.in. Shouldn't support for all possible core files be
> included?
Historically BFD only supports core files when compiled in native mode
(i.e., host == target), and it only supports the core file format used
on the particular host/target for which it is configured.
It would be entirely feasible to extend BFD to support multiple core
file formats. Nobody has ever bothered to do that, probably because
nobody has ever run across a system which generates more than one
specific core file format.
Ian