This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Make contrib/ari/gdb_find.sh script more configurable
- From: Pedro Alves <palves at redhat dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 12 Dec 2012 12:44:23 +0000
- Subject: Re: [RFA] Make contrib/ari/gdb_find.sh script more configurable
- References: <50c72eb9.c7f1440a.18e7.ffff89d4SMTPIN_ADDED_BROKEN@mx.google.com>
On 12/11/2012 01:01 PM, Pierre Muller wrote:
> As we were talking about adding
> gdbserver to the list of directories that should
> also be inspected by Awk regression scripts,
> I propose hereby a patch allowing to include directory
> gdbtk, gdbserver or gnulib to the list of inspected directories
> by simply exporting a variable named check_XXX_dir
> before running the scripts.
IMO, if you're going to support something like this, I think
it'd make more sense to make it a single variable that accepts
a list of dirs, like:
ARI_CHECK_EXTRA_DIRS=gdbtk,gdbserver,gnulib,whatnot
or the CLI version --check-extra-dirs=gdbtk,gdbserver,gnulib,whatnot
or some such.
>From reading the patch, I find no real need to hardcode the set
of possible dirs.
--
Pedro Alves