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

Luis Machado lgustavo@codesourcery.com
Wed Jun 19 20:14:00 GMT 2013


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subst.diff
Type: text/x-patch
Size: 829 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130619/2ad92a5d/attachment.bin>


More information about the Gdb-patches mailing list