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

Luis Machado lgustavo@codesourcery.com
Wed Jun 19 21:04:00 GMT 2013


On 06/19/2013 05:13 PM, Pedro Alves wrote:
> 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.
>

Thanks. Checked in.



More information about the Gdb-patches mailing list