new plugin bfd_target breaks gdb with --enable-targets=all

Nick Clifton nickc@redhat.com
Thu May 28 11:32:00 GMT 2009


Hi Rafael,

Nick Clifton wrote:
> So - what you need to do is to prevent the plugin target from being 
> included in an all-targets toolchain, unless --enable-plugin has been 
> specified as well.

So ... I have checked in your patches together with this additional 
little patch (attached).  It makes sure that the plugin target is only 
placed into the target vector for the all-targets case if 
BFD_SUPPORTS_PLUGINS is defined.

Cheers
   Nick


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: targets.c.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20090528/47847b3b/attachment.ksh>


More information about the Binutils mailing list