This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Regression: [Re: RFC: change "program exited" message]
On Wed, 09 Mar 2011 18:13:02 +0100, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
>
> Jan> -PASS: gdb.ada/catch_ex.exp: continuing to program completion
> Jan> +FAIL: gdb.ada/catch_ex.exp: continue until exit (the program exited)
>
> Can you try this?
[...]
> -gdb_continue_to_end
> +gdb_continue_to_end "" continue 1
I tried that but that was the reason I wrote:
the .exp testfile does not have too straightforward way to accept the
non-zero exit code
as even with
set extra ".*"
there is still the expectation
"Continuing.\[\r\n0-9\]+${extra}(... EXIT code 0\[\r\n\]+|$inferior_exited_re normally).*"
but the output is
[Inferior 1 (process 14730) exited with code 01]
Thanks,
Jan