diff options
author | Tom Tromey <tromey@redhat.com> | 2012-01-11 18:30:19 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-01-11 18:30:19 +0000 |
commit | 88e7d25d8daee9ae228af4ead1fd61bb8657c126 (patch) | |
tree | 200f62e7106e237af6b15939957f732eda52cbbe /gdb | |
parent | e5081f2f8f6f63affdfb386aa72184366bcc50a4 (diff) | |
download | gdb-88e7d25d8daee9ae228af4ead1fd61bb8657c126.zip gdb-88e7d25d8daee9ae228af4ead1fd61bb8657c126.tar.gz gdb-88e7d25d8daee9ae228af4ead1fd61bb8657c126.tar.bz2 |
PR gdb/9598:
* breakpoint.c (_initialize_breakpoint): Fix help for "catch
catch" and "catch throw".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <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> * 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, |