aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-02-05 21:51:38 +0000
committerDoug Evans <dje@google.com>2010-02-05 21:51:38 +0000
commit1be008824d66029ec5d7c1f1a32b25305dc50afa (patch)
treee2bd085d7c2a9c42b113e8bbb1aa11cd93f90e58 /gdb/testsuite
parent82856980164673e7d71180ff67f14d96190b2b3c (diff)
downloadgdb-1be008824d66029ec5d7c1f1a32b25305dc50afa.zip
gdb-1be008824d66029ec5d7c1f1a32b25305dc50afa.tar.gz
gdb-1be008824d66029ec5d7c1f1a32b25305dc50afa.tar.bz2
testsuite/
* lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by user. doc/ * gdbint.texinfo (Testsuite): Document INTERNAL_GDBFLAGS.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp5
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 022bcfa..50b6966 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-05 Doug Evans <dje@google.com>
+
+ * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
+ user.
+
2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
PR c++/7935:
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 9b06a2f..0145afb 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -54,7 +54,10 @@ if ![info exists GDBFLAGS] {
verbose "using GDBFLAGS = $GDBFLAGS" 2
# INTERNAL_GDBFLAGS contains flags that the testsuite requires.
-set INTERNAL_GDBFLAGS "-nw -nx"
+global INTERNAL_GDBFLAGS
+if ![info exists INTERNAL_GDBFLAGS] {
+ set INTERNAL_GDBFLAGS "-nw -nx"
+}
# The variable gdb_prompt is a regexp which matches the gdb prompt.
# Set it if it is not already set.