This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Clear GREP_OPTIONS environment variable.
- From: Tom Tromey <tromey at redhat dot com>
- To: "Andrew Burgess" <aburgess at broadcom dot com>
- Cc: "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 16 Mar 2011 09:24:53 -0600
- Subject: Re: [PATCH] Clear GREP_OPTIONS environment variable.
- References: <4D807468.8020703@broadcom.com>
>>>>> "Andrew" == Andrew Burgess <aburgess@broadcom.com> writes:
Andrew> The test gdb.base/maint.exp shells out from gdb to use grep. I
Andrew> have GREP_OPTIONS="--color=auto" in my environment and this
Andrew> causes the test to fail. The patch below clears this environment
Andrew> variable before running gdb. Ok to apply?
Andrew> 2011-03-15 Andrew Burgess <aburgess@broadcom.com>
Andrew> * lib/gdb.exp (default_gdb_start): Clear the GREP_OPTIONS
Andrew> environment variable to make grep output more predictable.
Ok.
Tom