This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] fix BFD's core support on FreeBSD 4.[2-9]
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: obrien at FreeBSD dot org, binutils at sources dot redhat dot com, ac131313 at cygnus dot com
- Date: Fri, 1 Feb 2002 10:11:57 -0500
- Subject: Re: [PATCH] fix BFD's core support on FreeBSD 4.[2-9]
- References: <20020131090234.A97584@dragon.nuxi.com> <3C597A65.email@example.com> <firstname.lastname@example.org>
On Thu, Jan 31, 2002 at 10:08:35PM -0800, Ian Lance Taylor wrote:
> Andrew Cagney <email@example.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.
We've already got some of this. For instance, we support multiple ELF
architectures worth of core files (reading only, writing doesn't
Cleaning it up further is very much on my list... and the second time
in 24 hours I've needed to mention a plan for my Copious Free Time (tm)
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer