Index: gdb/testsuite/gdb.base/subst.exp |
diff --git a/gdb/testsuite/gdb.base/subst.exp b/gdb/testsuite/gdb.base/subst.exp |
index b604b674be673c62dd1c22a4b5ec6ef5ba29f067..50f6620dcf6bd3f3c801ef2f27ddc93996b0524d 100644 |
--- a/gdb/testsuite/gdb.base/subst.exp |
+++ b/gdb/testsuite/gdb.base/subst.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2006-2012 Free Software Foundation, Inc. |
+# Copyright 2006-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -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" |