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

Ulrich Weigand uweigand@de.ibm.com
Wed Jan 4 17:45:00 GMT 2012


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?   (I guess Edjunior's follow-on fixes would also be good ...)

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list