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

@ -1,3 +1,9 @@
2012-01-11 Tom Tromey <tromey@redhat.com>
PR gdb/9598:
* breakpoint.c (_initialize_breakpoint): Fix help for "catch
catch" and "catch throw".
2012-01-11 Paul Hilfinger <hilfingr@adacore.com> 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
* blockframe.c (block_innermost_frame): Start search from selected * blockframe.c (block_innermost_frame): Start search from selected

View File

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