This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: fix python-selftest.exp failure (Was: new FAIL python-selftest.exp in gdbserver mode [Re: [PATCH 18/28] check gdb_python_initialized everywhere])
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 17 Jun 2013 19:01:55 +0200
- Subject: Re: RFC: fix python-selftest.exp failure (Was: new FAIL python-selftest.exp in gdbserver mode [Re: [PATCH 18/28] check gdb_python_initialized everywhere])
- References: <87ehe638ww dot fsf at fleche dot redhat dot com> <87vc7iy49l dot fsf at fleche dot redhat dot com> <87zjwqqv2u dot fsf at fleche dot redhat dot com> <20130521082202 dot GA1789 at host2 dot jankratochvil dot net> <87hagwd6k5 dot fsf_-_ at fleche dot redhat dot com>
On Mon, 17 Jun 2013 18:51:22 +0200, Tom Tromey wrote:
> The bug is that the selftest code doesn't work in this situation. It
> never has.
>
> This patch fixes the problem by pushing the needed check into
> do_self_tests. This helps prevent the problem in the future.
That looks fine to me, you wrote lib/selftest-support.exp anyway.
Thanks,
Jan