From: Luis Machado Date: Wed, 19 Jun 2013 20:37:26 +0000 (+0000) Subject: * gdb.base/subst.exp: Delete default rules before further X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d69cace40f5b40617c63cf72c99fbb9bf37ab4c5;p=binutils-gdb.git * gdb.base/subst.exp: Delete default rules before further tests. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 18faac39e0d..7fb31d47127 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 e3395570dca..50f6620dcf6 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"