* gdb.base/subst.exp: Delete default rules before further
authorLuis Machado <luisgpm@br.ibm.com>
Wed, 19 Jun 2013 20:37:26 +0000 (20:37 +0000)
committerLuis Machado <luisgpm@br.ibm.com>
Wed, 19 Jun 2013 20:37:26 +0000 (20:37 +0000)
tests.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/subst.exp

index 18faac39e0dda861ce1ad71a86894a1c85a9d52e..7fb31d4712747ba7879a96a9d5b12fe5472afe59 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-19  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.base/subst.exp: Delete default rules before further
+       tests.
+
 2013-06-19  Yao Qi  <yao@codesourcery.com>
 
        * gdb.base/maint.exp: Make the test to command 'maint dump-me'
index e3395570dca9a942b1377c4608659fc7981de4b3..50f6620dcf6bd3f3c801ef2f27ddc93996b0524d 100644 (file)
@@ -23,6 +23,12 @@ gdb_reinitialize_dir $srcdir/$subdir
 gdb_test_no_output "set confirm off" \
          "deactivate GDB's confirmation interface"
 
+# Clear any substitution rules that are available by default due
+# to GDB being configured with --with-relocated-sources.
+
+gdb_test_no_output "unset substitute-path" \
+         "remove default substitution rules"
+
 gdb_test "show substitute-path" \
          "List of all source path substitution rules:" \
          "show substitute-path, no rule entered yet"