From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: gdb-patches Subject: Re: [PATCH]: testsuite/gdb.base/ending-run.* Date: Tue, 18 Sep 2001 09:34:00 -0000 Message-id: <3BA7768E.DF8D14AF@redhat.com> References: <20010912164628.T1285@cygbert.vinschen.de> <3BA74BF3.97D7C650@redhat.com> <20010918164242.A28304@cygbert.vinschen.de> <3BA75FE1.C13959A2@redhat.com> <20010918172615.C28304@cygbert.vinschen.de> X-SW-Source: 2001-09/msg00236.html Corinna Vinschen wrote: > > I don't understand the difference in my case. The output strings > are already different: > Sorry, I only saw your patch and the context had only one other entry. Unfortunately you found a bad example. This is how things should _not_ be done. Just say "step out of main". I will clean up the other messages later Thanks, Fernando. > -re ".*Program exited normally.*$gdb_prompt $" { > # This is what happens on Linux i86 (and I would expect others) > set program_exited 1 > pass "step out of main" > } > -re ".*in .nope ().*$gdb_prompt $" { > # This is what happens on Solaris currently -sts 1999-08-25 > pass "step out of main on Solaris" > } > -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" > } > > Why should my non-ARM target use the ARM specific output?!? > It should nor use _any_ specific output for the reasons I gave in my previous postings. -- Fernando Nasser Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9