OSDN Git Service

PR gdb/9598:
authortromey <tromey>
Wed, 11 Jan 2012 18:30:19 +0000 (18:30 +0000)
committertromey <tromey>
Wed, 11 Jan 2012 18:30:19 +0000 (18:30 +0000)
* breakpoint.c (_initialize_breakpoint): Fix help for "catch
catch" and "catch throw".

gdb/breakpoint.c

index 7b8d10f..88fc176 100644 (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,