aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2013-06-19 20:37:26 +0000
committerLuis Machado <luisgpm@br.ibm.com>2013-06-19 20:37:26 +0000
commitd69cace40f5b40617c63cf72c99fbb9bf37ab4c5 (patch)
tree4051bad1de69758207d5608009fc6b01c626960e
parent0e4777df762b3fd7cf70265ad6a9aa3df4f1fc0b (diff)
downloadgdb-d69cace40f5b40617c63cf72c99fbb9bf37ab4c5.zip
gdb-d69cace40f5b40617c63cf72c99fbb9bf37ab4c5.tar.gz
gdb-d69cace40f5b40617c63cf72c99fbb9bf37ab4c5.tar.bz2
* gdb.base/subst.exp: Delete default rules before further
tests.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/subst.exp6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 18faac3..7fb31d4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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'
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"