aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/subst.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/subst.exp b/gdb/testsuite/gdb.base/subst.exp
index e339557..50f6620 100644
--- a/gdb/testsuite/gdb.base/subst.exp
+++ b/gdb/testsuite/gdb.base/subst.exp
@@ -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"