This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] testsuite fix for Mips ending-run.exp
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 27 Mar 2002 11:56:58 -0800
- Subject: [RFA] testsuite fix for Mips ending-run.exp
- Organization: Red Hat Inc
All my Mips testsuites fail on this, and it seems OK to me.
2002-03-27 Martin M. Hunt <hunt@redhat.com>
* gdb.base/ending-run.exp: Most Mips targets seem
to step out of main() into init().
Index: testsuite/gdb.base/ending-run.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ending-run.exp,v
retrieving revision 1.13
diff -u -p -r1.13 ending-run.exp
--- ending-run.exp 2002/02/10 18:58:26 1.13
+++ ending-run.exp 2002/03/27 19:55:06
@@ -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"