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

Andrew Cagney ac131313@cygnus.com
Thu Jan 31 22:50:00 GMT 2002


> 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.


Ah, yes.  Historically, GDB only supported core files, shared libraries, 
threads and a single ISA/ABI when native.  Both BFD and GDB are charting 
new territory here.


> 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.


Ok.  Yes.

Andrew



More information about the Binutils mailing list