This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix BFD's core support on FreeBSD 4.[2-9]


On Thu, Jan 31, 2002 at 10:08:35PM -0800, Ian Lance Taylor wrote:
> 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.

We've already got some of this.  For instance, we support multiple ELF
architectures worth of core files (reading only, writing doesn't
yet...).

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]