This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: testsuite/gdb.base/ending-run.*
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