aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/default.exp
diff options
context:
space:
mode:
authorMuhammad Bilal <mbilal@sourceware.org>2013-05-13 08:49:23 +0000
committerMuhammad Bilal <mbilal@sourceware.org>2013-05-13 08:49:23 +0000
commit8414efeff8a66b8471e7a372fafffb9624cb499f (patch)
tree92be78d9cef808647c80099cad11cfbcb050449d /gdb/testsuite/gdb.base/default.exp
parent8444d6e5fb3c09ad1f9e87f405fc57e0a883a0da (diff)
downloadgdb-8414efeff8a66b8471e7a372fafffb9624cb499f.zip
gdb-8414efeff8a66b8471e7a372fafffb9624cb499f.tar.gz
gdb-8414efeff8a66b8471e7a372fafffb9624cb499f.tar.bz2
* History saving should stay disabled for test cases *
I saw some test cases in gdb.base/default.exp and gdb.base/setshow.exp are enabling the history saving. Hence .gdb_history file is modified with history information even though, by default, we have History saving disabled. So we should modify GDB test cases so that history saving should stay off for all test cases. ChangeLog: 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com> * gdb.base/default.exp: Disable history saving. * gdb.base/setshow.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/default.exp')
-rw-r--r--gdb/testsuite/gdb.base/default.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index 6920090..9230ee8 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -725,6 +725,8 @@ gdb_test_multiple "show" "show" {
}
}
}
+#history saving should stay disabled
+gdb_test_no_output "set history save off" "set history save off"
#test stepi "si" abbreviation
gdb_test "si" "The program is not being run." "stepi \"si\" abbreviation"
#test stepi