aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2003-07-20 17:39:16 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2003-07-20 17:39:16 +0000
commit180dea7cce415d9ff9836cd15b2a2af7ddc2f06b (patch)
tree286c46ec07a7ae73d86201c18112e58569ce9440 /gdb/testsuite/gdb.base
parentef2b8fcdd80de265ba1c78995be2563f629c2e3c (diff)
downloadgdb-180dea7cce415d9ff9836cd15b2a2af7ddc2f06b.zip
gdb-180dea7cce415d9ff9836cd15b2a2af7ddc2f06b.tar.gz
gdb-180dea7cce415d9ff9836cd15b2a2af7ddc2f06b.tar.bz2
* gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
due to insn reordering.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/selftest.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp
index 57f4f3f..6fe601e 100644
--- a/gdb/testsuite/gdb.base/selftest.exp
+++ b/gdb/testsuite/gdb.base/selftest.exp
@@ -180,6 +180,18 @@ proc do_steps_and_nexts {} {
set description "step over gdb_sysroot initialization"
set command "step"
}
+ -re ".*ndir = 0.*$gdb_prompt $" {
+ set description "step over ndir initialization"
+ set command "step"
+ }
+ -re ".*instream = stdin.*$gdb_prompt $" {
+ set description "step over instream initialization"
+ set command "step"
+ }
+ -re ".*getcwd .gdb_dirbuf, sizeof .gdb_dirbuf..;.*$gdb_prompt $" {
+ set description "next over getcwd"
+ set command "next"
+ }
-re "\[ \t\]+\{\r\n$gdb_prompt $" {
setup_xfail "mips-*-irix5*"
fail "$description ended up at odd location"