aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
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
commita1769aca316bb1f0e0e57ce5e423ea673810a898 (patch)
tree4678c0594ce0115a30114f61ff974a5831e3778a /gdb/testsuite
parentc87f1ff7eb5a2e44ae4f4e3757dc73427a8b6458 (diff)
downloadgdb-a1769aca316bb1f0e0e57ce5e423ea673810a898.zip
gdb-a1769aca316bb1f0e0e57ce5e423ea673810a898.tar.gz
gdb-a1769aca316bb1f0e0e57ce5e423ea673810a898.tar.bz2
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')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/selftest.exp6
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9fd8c36..bf815a0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-15 David Carlton <carlton@math.stanford.edu>
+
+ * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
+
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.exp: Move the tests of until command from here...
diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp
index bf71c49..5d9419e 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"