aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2002-04-11 03:31:26 +0000
committerMartin Hunt <hunt@redhat.com>2002-04-11 03:31:26 +0000
commit6b8426a663e3099c5cc379e635e01eeabc3b2df6 (patch)
treee868cd9bfc10aa4449ead2b69bf13e288236d829
parentab2241589447ae56d0989624589fea28ce2476d9 (diff)
downloadgdb-6b8426a663e3099c5cc379e635e01eeabc3b2df6.zip
gdb-6b8426a663e3099c5cc379e635e01eeabc3b2df6.tar.gz
gdb-6b8426a663e3099c5cc379e635e01eeabc3b2df6.tar.bz2
2002-04-10 Martin M. Hunt <hunt@redhat.com>
* gdb.base/ending-run.exp: Fix pattern for Mips targets stepping out of main.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp4
2 files changed, 9 insertions, 0 deletions
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 <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
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"