[PATCH, testsuite] Fix subst.exp failure when GDB is configured with --with-relocated-sources

Pedro Alves palves@redhat.com
Wed Jun 19 20:37:00 GMT 2013


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



More information about the Gdb-patches mailing list