This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]