This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 3/5] [PR gdb/15224] Modify GDB testsuite to always disable history saving
- From: Muhammad Bilal <mbilal at codesourcery dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Cc: <jan dot kratochvil at redhat dot com>, Pedro Alves <palves at redhat dot com>
- Date: Thu, 8 Aug 2013 10:19:48 +0500
- Subject: [PATCH 3/5] [PR gdb/15224] Modify GDB testsuite to always disable history saving
History saving on testsuite should always be disable after enabling the
history save on by default
Please find below patch for this purpose.
2013-08-08 Muhammad Bilal <mbilal@codesourcery.com>
PR gdb/15224
* lib/gdb.exp: Add '-ex "set history save off"' to
INTERNAL_GDBFLAGS.
gdb/testsuite/lib/gdb.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 70b797e..c4b7220 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -58,7 +58,7 @@ set BUILD_DATA_DIRECTORY "[pwd]/../data-directory"
# INTERNAL_GDBFLAGS contains flags that the testsuite requires.
global INTERNAL_GDBFLAGS
if ![info exists INTERNAL_GDBFLAGS] {
- set INTERNAL_GDBFLAGS "-nw -nx -data-directory $BUILD_DATA_DIRECTORY"
+ set INTERNAL_GDBFLAGS "-nw -nx -ex \"set history save off\"
-data-directory $BUILD_DATA_DIREC
}
# The variable gdb_prompt is a regexp which matches the gdb prompt.
Thanks,
-Bilal