Re: [PATCH 4/7] Disable history saving for testsuit

mbilal
2013-05-15T10:56:20Z

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

HI,
Please find attached updated patch.
In this patch, History saving is being disabled for all testsuite.

2013-05-06 Muhammad Bilal <mbilal@codesourcery.com>

PR gdb/15224
* lib/gdb.exp: Disable history saving for testsuites.

Thanks,
-Bilal

[-- Attachment #2: 4 --]
[-- Type: text/plain, Size: 609 bytes --]

diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index b8a7cf8..a1a131e 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.