summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.gdb
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2007-01-31 19:32:12 +0000
committerAndreas Schwab <schwab@suse.de>2007-01-31 19:32:12 +0000
commit86bc7f6dc3970aae29f4be62248619f9d19117c1 (patch)
tree571cf6277bd7587cefbffd7cbfeefd437e1e2c6b /gdb/testsuite/gdb.gdb
parent83e27d51a32205fb39c854c68d9b80048955f322 (diff)
downloadgdb-86bc7f6dc3970aae29f4be62248619f9d19117c1.tar.gz
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
Diffstat (limited to 'gdb/testsuite/gdb.gdb')
-rw-r--r--gdb/testsuite/gdb.gdb/selftest.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 4fdc70bf028..32d56ad5610 100644
--- a/gdb/testsuite/gdb.gdb/selftest.exp
+++ b/gdb/testsuite/gdb.gdb/selftest.exp
@@ -185,6 +185,18 @@ proc do_steps_and_nexts {} {
set description "next over getcwd"
set command "next"
}
+ -re ".*quit_flag = 0.*$gdb_prompt $" {
+ set description "step over quit_flag initialization"
+ set command "step"
+ }
+ -re ".*gdb_stdout = stdio_fileopen .stdout.;.*$gdb_prompt $" {
+ set description "step over gdb_stdout initialization"
+ set command "step"
+ }
+ -re ".*gdb_stderr = stdio_fileopen .stderr.;.*$gdb_prompt $" {
+ set description "step over gdb_stderr initialization"
+ set command "step"
+ }
-re "\[ \t\]+\{\r\n$gdb_prompt $" {
setup_xfail "mips-*-irix5*"
fail "$description ended up at odd location"