From 5c9f7ded98e20db2a4476e709747e8b1b3393c1c Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 23 Feb 2006 18:24:34 +0000 Subject: [PATCH] * gdb.base/default.exp: Allow ';' as a directory separator. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/default.exp | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9eff44b7cc7..aa36f614f1b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-02-23 Daniel Jacobowitz + + * gdb.base/default.exp: Allow ';' as a directory separator. + 2006-02-21 Andrew Stubbs * 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 6defb11a8cd..1ecf1f7dbe6 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 -- 2.30.2