This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit 7.4] [patch] Fix gdb.python/py-finish-breakpoint.exp new FAIL on x86_64-m32 [Re: [RFC] Python Finish Breakpoints]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Kevin Pouget <kevin dot pouget at gmail dot com>, Tom Tromey <tromey at redhat dot com>, gdb-patches at sourceware dot org, brobecker at adacore dot com, Edjunior Barbosa Machado <emachado at linux dot vnet dot ibm dot com>
- Date: Wed, 4 Jan 2012 18:57:32 +0100
- Subject: [commit 7.4] [patch] Fix gdb.python/py-finish-breakpoint.exp new FAIL on x86_64-m32 [Re: [RFC] Python Finish Breakpoints]
- References: <20111224135611.GA6131@host2.jankratochvil.net> <201201041744.q04HirTe011228@d06av02.portsmouth.uk.ibm.com>
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