Re: [PATCH] Also install data-directory into the build directory as computed by relocate_gdb_directory

Eli Zaretskii
2012-10-06T20:29:30Z

> From: Khoo Yit Phang <khooyp@cs.umd.edu>
> Date: Sat, 6 Oct 2012 16:11:55 -0400
> Cc: Khoo Yit Phang <khooyp@cs.umd.edu>,
> dje@google.com,
> brobecker@adacore.com,
> jan.kratochvil@redhat.com,
> gdb-patches@sourceware.org
>
> Hi,
>
> On Oct 6, 2012, at 4:06 PM, Eli Zaretskii wrote:
>
> >> But we have to make assumptions about other applications that are not under our control, that they do not use the same files, which I think is an assumption that we should avoid if possible (who knows what's out there).
> >
> > How many other packages will have a file called doc/gdb.info or
> > doc/gdbint.info in their build tree? How many of them will have
> > something called i386-cygwin-tdep.o or mi/mi-cmds.o? I could find
> > many more files whose probability to be in a non-GDB tree is exactly
> > zero.
> >
> > I think the problem you are afraid of doesn't exist.
>
> I'm simply offering alternative solutions that work regardless of whether the problem exists or not, and in some cases, is much simpler to implement. Isn't that a good thing?

I don't consider those alternatives simpler from the user POV, sorry.