This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: bfd patch for gdb cross-debugging support
On Sat, 19 Sep 2009, Danny Backx wrote:
> On Sat, 2009-09-19 at 12:39 +0000, Joseph S. Myers wrote:
> > On Sat, 19 Sep 2009, Danny Backx wrote:
> >
> > > Oops, I didn't include the new file (bfd/filesystem.c). Attached now.
> >
> > Why are you putting this in BFD? The relevant libiberty interfaces from
> > filenames.h are used in GCC which doesn't use BFD, you need to put the
> > functions they now use in libiberty where all libiberty users can see
> > them.
>
> I did that because filenames.h says it's part of BFD.
>
> Is that statement wrong ?
As part of the subset of files in include/ that are shared between the GCC
and src repositories, it is part of libiberty and any associated library
facilities belong in libiberty. For what files in libiberty claim to be
parts of, see <http://gcc.gnu.org/ml/gcc/2003-06/msg01286.html> (which
however may only have addressed libiberty/ and not include/).
--
Joseph S. Myers
joseph@codesourcery.com