aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2007-01-31 19:32:12 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2007-01-31 19:32:12 +0000
commit6d9c3a87031e1f86c057351a0456a8edd4148f81 (patch)
tree2e723d79373d029dea7d06a0c91c6f0cd992c457
parent53d7966f2a986dbd964fb20d4b9a02e64e7819b1 (diff)
downloadgdb-6d9c3a87031e1f86c057351a0456a8edd4148f81.zip
gdb-6d9c3a87031e1f86c057351a0456a8edd4148f81.tar.gz
gdb-6d9c3a87031e1f86c057351a0456a8edd4148f81.tar.bz2
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
-rw-r--r--gdb/testsuite/ChangeLog2
-rw-r--r--gdb/testsuite/gdb.gdb/selftest.exp12
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 811290e..2d45951 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,7 @@
2007-01-31 Andreas Schwab <schwab@suse.de>
+ * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
+
* gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
in the dwarf sections.
* gdb.dwarf2/mac-fileno.S: Likewise.
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 4fdc70b..32d56ad 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"