Re: [PATCH]: testsuite/gdb.base/ending-run.*

Fernando Nasser
2001-09-18T09:34:00Z

> 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.