[commit 7.4] [patch] Fix gdb.python/py-finish-breakpoint.exp new FAIL on x86_64-m32 [Re: [RFC] Python Finish Breakpoints]

Jan Kratochvil
2012-01-04T17:58:13Z

On Wed, 04 Jan 2012 18:45:01 +0100, Ulrich Weigand wrote:
> Jan Kratochvil wrote:
>
> > +Continuing.
> > +process 23029 is executing new program: /bin/echo
> > +warning: Selected architecture i386:x86-64 is not compatible with reported target architecture i386
> > +Architecture of file not recognized.
> > +(gdb) FAIL: gdb.python/py-finish-breakpoint.exp: catch out of scope after exec
>
> > gdb/testsuite/
> > 2011-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
> > parameter to self_exec, adjust the function.
> > (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
> > * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
> > (set var do_exit = 0): Remove test.
> > (newline at end of file): Add one.
>
> I'm seeing this problem on 7.4 as well ... could you check the testcase fix in
> there too?

Checked in 7.4 branch:
http://sourceware.org/ml/gdb-cvs/2012-01/msg00050.html

> (I guess Edjunior's follow-on fixes would also be good ...)

Checked in 7.4 branch also the Edjunior's follow-on when I was at it:
http://sourceware.org/ml/gdb-cvs/2012-01/msg00051.html

Regards,
Jan