[2/2] RFC: build machoread.c in more cases

Pedro Alves palves@redhat.com
Thu Dec 13 20:03:00 GMT 2012


On 12/13/2012 07:53 PM, Tom Tromey wrote:
> I noticed that machoread.c is only built for Darwin.
> 
> This seems wrong to me.  It seems like it should instead be built
> whenever the needed BFD code is built.  This is what we do for
> elfread.c.
> 
> This patch has two benefits.  First, it means building with a Darwin
> target is more possible.  Second, it means that --enable-targets=all
> will build machoread.c, leading to fewer chances for build regressions
> there.  The is the case I ran into...
> 
> Comments?

Looks fine to me.

-- 
Pedro Alves



More information about the Gdb-patches mailing list