* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.

This commit is contained in:
Andreas Schwab 2007-01-31 19:32:12 +00:00
parent 53d7966f2a
commit 6d9c3a8703
2 changed files with 14 additions and 0 deletions

View File

@ -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.

View File

@ -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"