mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
PR gdb/9598:
* breakpoint.c (_initialize_breakpoint): Fix help for "catch catch" and "catch throw".
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user