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/breakpoint.c | |
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/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 6 |
1 files changed, 2 insertions, 4 deletions
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, |