This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb.dwarf2/dwzbuildid.exp: Avoid reserved variable name
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 1 Nov 2013 23:40:18 +0000
- Subject: Re: [PATCH] gdb.dwarf2/dwzbuildid.exp: Avoid reserved variable name
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 1 dot 10 dot 1311010024370 dot 12843 at tp dot orcam dot me dot uk> <87fvrgyvyw dot fsf at fleche dot redhat dot com>
On Fri, 1 Nov 2013, Tom Tromey wrote:
> Maciej> gdb/testsuite/
> Maciej> * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
> Maciej> `debugdir'.
>
> Ok.
Thanks for your review, I have applied the change now.
> I wonder whether we should mention it in banned_variables.
Hmm, would it make sense to grep lib/*.exp for global variable references
and see if there are any other candidates?
Maciej