aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-02-23 18:24:34 +0000
committerDaniel Jacobowitz <drow@false.org>2006-02-23 18:24:34 +0000
commit5c9f7ded98e20db2a4476e709747e8b1b3393c1c (patch)
tree9d15d4df0a3debdef6eaf2a52b8c104e41e22613 /gdb/testsuite
parentd4fdc52404ae433252cfe18001452951ab899157 (diff)
downloadgdb-5c9f7ded98e20db2a4476e709747e8b1b3393c1c.zip
gdb-5c9f7ded98e20db2a4476e709747e8b1b3393c1c.tar.gz
gdb-5c9f7ded98e20db2a4476e709747e8b1b3393c1c.tar.bz2
* gdb.base/default.exp: Allow ';' as a directory separator.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/default.exp6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9eff44b..aa36f61 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * gdb.base/default.exp: Allow ';' as a directory separator.
+
2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/help.exp (help add-symbol-file): Update.
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index 6defb11..1ecf1f7 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -1,5 +1,5 @@
# Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003
+# 2000, 2001, 2002, 2003, 2005, 2006
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -149,7 +149,7 @@ gdb_expect {
-re "Reinitialize source path to empty.*y or n. $" {
send_gdb "y\n"
gdb_expect {
- -re "Source directories searched: .cdir:.cwd.*$gdb_prompt $"\
+ -re "Source directories searched: .cdir\[:;\].cwd.*$gdb_prompt $"\
{ pass "directory prompt" }
timeout { fail "(timeout) directory prompt" }
}
@@ -604,7 +604,7 @@ gdb_test "show confirm" "Whether to confirm potentially dangerous operations is
#test show convenience
gdb_test "show convenience" "No debugger convenience variables now defined.(\[^\r\n\]*\[\r\n\])+Convenience variables have names starting with \".\";(\[^\r\n\]*\[\r\n\])+use \"set\" as in \"set .foo = 5\" to define them." "show convenience"
#test show directories
-gdb_test "show directories" "Source directories searched: .cdir:.cwd" "show directories"
+gdb_test "show directories" "Source directories searched: .cdir\[:;\].cwd" "show directories"
#test show editing
gdb_test "show editing" "Editing of command lines as they are typed is o\[a-z\]*." "show editing"
#test show height