This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, testsuite] Fix subst.exp failure when GDB is configured with --with-relocated-sources
- From: Pedro Alves <palves at redhat dot com>
- To: lgustavo at codesourcery dot com
- Cc: "'gdb-patches at sourceware dot org'" <gdb-patches at sourceware dot org>
- Date: Wed, 19 Jun 2013 21:13:53 +0100
- Subject: Re: [PATCH, testsuite] Fix subst.exp failure when GDB is configured with --with-relocated-sources
- References: <51C209FC dot 3040206 at codesourcery dot com>
On 06/19/2013 08:43 PM, Luis Machado wrote:
> Hi,
>
> The gdb.base/subst.exp test assumes GDB starts with no default
> substitution rules, which is not true if GDB has been configured with
> --with-relocated-sources. In that case we start with a default rule,
> causing the first test (checking that there are no rules) to fail.
>
> This patch clears any default substitution rules that may exist prior to
> doing all the other tests.
>
> OK?
>
Looks obviously correct to me.
--
Pedro Alves