Rethrow exception properly.
commit7d05051b492d4b25e43097ec9828add03b92a227
authorVladimir Prus <vladimir@codesourcery.com>
Sat, 26 Jan 2008 19:32:10 +0000 (26 22:32 +0300)
committerVladimir Prus <vladimir@codesourcery.com>
Fri, 1 Feb 2008 06:45:46 +0000 (1 09:45 +0300)
treead55b4852e1a220c99974f2c3921b0f59a0ce690
parent3651ba68cd17877aa0273d00db00dba881d80904
Rethrow exception properly.

[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.
gdb/breakpoint.c
gdb/testsuite/gdb.mi/mi-break.exp