From 6b8426a663e3099c5cc379e635e01eeabc3b2df6 Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Thu, 11 Apr 2002 03:31:26 +0000 Subject: 2002-04-10 Martin M. Hunt * gdb.base/ending-run.exp: Fix pattern for Mips targets stepping out of main. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/ending-run.exp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cef99d9..d4512b1 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 80f1cc0..df6a708 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" -- cgit v1.1