From: Martin Hunt Date: Thu, 11 Apr 2002 03:31:26 +0000 (+0000) Subject: 2002-04-10 Martin M. Hunt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b8426a663e3099c5cc379e635e01eeabc3b2df6;p=binutils-gdb.git 2002-04-10 Martin M. Hunt * gdb.base/ending-run.exp: Fix pattern for Mips targets stepping out of main. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cef99d9c0a1..d4512b131e6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-04-10 Martin M. Hunt + + * gdb.base/ending-run.exp: Fix pattern for Mips targets + stepping out of main. + 2002-04-09 Michael Chastain * gdb.c++/local.cc (main): Move call to marker1() inside nested diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index 80f1cc0ce67..df6a7081a3f 100644 --- a/gdb/testsuite/gdb.base/ending-run.exp +++ b/gdb/testsuite/gdb.base/ending-run.exp @@ -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"