This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/doco] expand a bit the in-GDB help for the "catch exception" help text
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 11 Jan 2019 18:12:28 +0200
- Subject: Re: [RFA/doco] expand a bit the in-GDB help for the "catch exception" help text
- References: <1547216571-27971-1-git-send-email-brobecker@adacore.com>
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Eli Zaretskii <eliz@gnu.org>
> Date: Fri, 11 Jan 2019 09:22:51 -0500
>
> | (gdb) help catch exception
> | Catch Ada exceptions, when raised.
> | Usage: catch exception [ ARG ]
> |
> | Without any argument, stop when any Ada exception is raised.
> | If ARG is "unhandled" (without the quotes), stop when an unhandledis raised.
> | Otherwise, the catchpoint only stops when the name of the exception being
> | raised is the same as ARG.
>
> gdb/ChangeLog:
>
> * ada-lang.c (_initialize_ada_language): Expand the help text
> for the "catch exception" command.
>
> Tested on x86_64-linux, no regression.
>
> OK to push? Or any suggestions?
The text you propose LGTM, thanks (the text above includes a typo, but
the source patch gets it right).