This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix cleanup in finish_command
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: "Metzger, Markus T" <markus dot t dot metzger at intel dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, "Pedro Alves (palves at redhat dot com)" <palves at redhat dot com>
- Date: Fri, 21 Jun 2013 10:14:09 +0200
- Subject: Re: [patch] Fix cleanup in finish_command
- References: <20130619211444 dot GA29379 at host2 dot jankratochvil dot net> <20130620143118 dot GA11929 at host2 dot jankratochvil dot net> <20130620151806 dot GD4724 at adacore dot com> <A78C989F6D9628469189715575E55B230A96FABA at IRSMSX104 dot ger dot corp dot intel dot com> <20130620161945 dot GA16142 at host2 dot jankratochvil dot net> <A78C989F6D9628469189715575E55B230A96FF66 at IRSMSX104 dot ger dot corp dot intel dot com>
On Fri, 21 Jun 2013 10:03:21 +0200, Metzger, Markus T wrote:
> > FAIL: gdb.btrace/exception.exp: exception - flat (timeout)
[...]
> it takes a very long time, but the test eventually passes.
OK, I see now, sorry I did not check it more.
> Am I allowed to throw_error() in target functions?
> Or should I just warn and return normally?
> Or just return and not even warn?
There isn't a technical reason why target functions could not throw.
One should just debug why the breakpoint is freed twice, I haven't done so
yet.
Jan