OSDN Git Service

2002-04-10 Martin M. Hunt <hunt@redhat.com>
authorhunt <hunt>
Thu, 11 Apr 2002 03:31:25 +0000 (03:31 +0000)
committerhunt <hunt>
Thu, 11 Apr 2002 03:31:25 +0000 (03:31 +0000)
* gdb.base/ending-run.exp: Fix pattern for Mips targets
stepping out of main.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/ending-run.exp

index cef99d9..d4512b1 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-10  Martin M. Hunt  <hunt@redhat.com>
+
+       * gdb.base/ending-run.exp: Fix pattern for Mips targets
+       stepping out of main.
+
 2002-04-09  Michael Chastain  <mec@shout.net>
 
        * gdb.c++/local.cc (main): Move call to marker1() inside nested
index 80f1cc0..df6a708 100644 (file)
@@ -178,6 +178,10 @@ gdb_expect {
                # This is what happens on Sanyo XStormy16
                pass "step out of main"
            }
+           -re ".*init ().*$gdb_prompt $" {
+               # This is what happens on many Mips targets
+               pass "step out of main"
+           }
            -re ".*in ..change.mode ().*$gdb_prompt $" {
                # This is what happens on ARM in thumb mode -fn 2000-02-01
                pass "step out of main on ARM thumb"