From 88e7d25d8daee9ae228af4ead1fd61bb8657c126 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 11 Jan 2012 18:30:19 +0000 Subject: [PATCH] PR gdb/9598: * breakpoint.c (_initialize_breakpoint): Fix help for "catch catch" and "catch throw". --- gdb/ChangeLog | 6 ++++++ gdb/breakpoint.c | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 29f2d1e..b58f885 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-01-11 Tom Tromey + + PR gdb/9598: + * breakpoint.c (_initialize_breakpoint): Fix help for "catch + catch" and "catch throw". + 2012-01-11 Paul Hilfinger * blockframe.c (block_innermost_frame): Start search from selected diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 7b8d10f..88fc176 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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, -- 2.7.4