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

Eli Zaretskii
2012-10-04T03:43:22Z

> Date: Wed, 3 Oct 2012 17:08:40 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Khoo Yit Phang <khooyp@cs.umd.edu>, Jan Kratochvil <jan.kratochvil@redhat.com>, GDB Patches <gdb-patches@sourceware.org>
>
> > Alternative: Is there a robust enough test to determine gdb is being
> > run from its build directory?
>
> I don't see a robust way to determine that we are bing run from
> the build directory.

Why not? Aren't there specific directories and/or files near the GDB
executable in this case?