This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Rethrow exception properly.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 31 Jan 2008 17:11:54 -0500
- Subject: Re: [RFA] Rethrow exception properly.
- References: <200801262257.36197.vladimir@codesourcery.com>
On Sat, Jan 26, 2008 at 10:57:35PM +0300, Vladimir Prus wrote:
> [gdb]
> Properly rethrow exception. This fixes errors
> about non-existent functions for -break-insert.
>
> * breakpoint.c (break_command_really): Use throw_exception
> for rethrowing. If rethrowing, don't print the exception.
>
> [gdb/testsuite]
> * gdb.mi/mi-break.exp (test_error): New.
> Call it.
This is OK (with the spelling correction for
function_that_does_not_exist).
--
Daniel Jacobowitz
CodeSourcery