diff options
author | Andreas Schwab <schwab@suse.de> | 2007-01-31 19:32:12 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2007-01-31 19:32:12 +0000 |
commit | 86bc7f6dc3970aae29f4be62248619f9d19117c1 (patch) | |
tree | 571cf6277bd7587cefbffd7cbfeefd437e1e2c6b /gdb/testsuite/gdb.gdb | |
parent | 83e27d51a32205fb39c854c68d9b80048955f322 (diff) | |
download | gdb-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.exp | 12 |
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" |