From d69cace40f5b40617c63cf72c99fbb9bf37ab4c5 Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Wed, 19 Jun 2013 20:37:26 +0000 Subject: [PATCH] * gdb.base/subst.exp: Delete default rules before further tests. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/subst.exp | 6 ++++++ 2 files changed, 11 insertions(+) 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 + + * gdb.base/subst.exp: Delete default rules before further + tests. + 2013-06-19 Yao Qi * 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" -- 2.7.4