This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Also install data-directory into the build directory as computed by relocate_gdb_directory
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: dje at google dot com, khooyp at cs dot umd dot edu, jan dot kratochvil at redhat dot com, gdb-patches at sourceware dot org
- Date: Thu, 04 Oct 2012 05:43:28 +0200
- Subject: Re: [PATCH] Also install data-directory into the build directory as computed by relocate_gdb_directory
- References: <AF12A41C-7B71-45F6-9496-1C8797774D58@cs.umd.edu> <20120924145910.GE4146@adacore.com> <2878953E-B698-43F3-989A-A551D96BAB62@cs.umd.edu> <20120924152641.GF4146@adacore.com> <9F52A338-A158-44DC-90C1-F46503859613@cs.umd.edu> <285502C6-1395-4049-9D55-031EDA3AD06D@cs.umd.edu> <20120924170348.GI4146@adacore.com> <CC9CEDC8-8941-43A8-88EA-DAB1B671DD32@cs.umd.edu> <20120927091737.GB2980@adacore.com> <CADPb22Q1a2TJ_bR0yq_wjOua8pBqBsZXvyS2uteX9xKiLuC9kw@mail.gmail.com> <20121004000840.GI3028@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?