* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 31 Jan 2007 19:32:12 +0000 (19:32 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 31 Jan 2007 19:32:12 +0000 (19:32 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/selftest.exp

index 811290eabf2841a2fa55a2751b7b385883d730f5..2d4595125824974d597e3a0f532332612c02c7ad 100644 (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.
index 4fdc70bf02860b5ef4d7ba9596d3e4b950cbb76d..32d56ad561026f02bc207c595d1b1c694f746270 100644 (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"