PR gdb/9598:

* breakpoint.c (_initialize_breakpoint): Fix help for "catch
	catch" and "catch throw".
This commit is contained in:
Tom Tromey
2012-01-11 18:30:19 +00:00
parent e5081f2f8f
commit 88e7d25d8d
2 changed files with 8 additions and 4 deletions

View File

@ -13849,15 +13849,13 @@ Set temporary catchpoints to catch events."),
/* Add catch and tcatch sub-commands. */
add_catch_command ("catch", _("\
Catch an exception, when caught.\n\
With an argument, catch only exceptions with the given name."),
Catch an exception, when caught."),
catch_catch_command,
NULL,
CATCH_PERMANENT,
CATCH_TEMPORARY);
add_catch_command ("throw", _("\
Catch an exception, when thrown.\n\
With an argument, catch only exceptions with the given name."),
Catch an exception, when thrown."),
catch_throw_command,
NULL,
CATCH_PERMANENT,