summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-01-15 17:32:41 +0000
committerDavid Carlton <carlton@bactrian.org>2003-01-15 17:32:41 +0000
commit3d9944c37ab6176ae0f618d8736ec5c40e11b54b (patch)
treed7d931a77d3eff4fa958f064d63b494a36ce7546 /gdb/testsuite/gdb.base
parent2781d1625c79b2d5e10aeccfffc3ea481f09d1e9 (diff)
downloadgdb-3d9944c37ab6176ae0f618d8736ec5c40e11b54b.tar.gz
2003-01-15 David Carlton <carlton@math.stanford.edu>
* gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/selftest.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp
index bf71c49cbae..5d9419ed298 100644
--- a/gdb/testsuite/gdb.base/selftest.exp
+++ b/gdb/testsuite/gdb.base/selftest.exp
@@ -170,6 +170,12 @@ proc do_steps_and_nexts {} {
set description "step over current_directory initialization"
set command "step"
}
+ -re ".*gdb_sysroot = .*$gdb_prompt $" {
+ # NOTE: carlton/2003-01-15: More optimization reordering,
+ # observed on GCC 3.1.
+ set description "step over gdb_sysroot initialization"
+ set command "step"
+ }
-re "\[ \t\]+\{\r\n$gdb_prompt $" {
setup_xfail "mips-*-irix5*"
fail "$description ended up at odd location"