Re: [RFC/Ada 1/2] Add command to list Ada exceptions

Eli Zaretskii
2013-11-07T16:11:19Z

> From: Joel Brobecker <brobecker@adacore.com>
> Date: Thu, 7 Nov 2013 19:04:09 +0400
>
> This patch adds a new command "info exceptions" whose purpose is to
> provide the list of exceptions currently defined in the inferior.
> The usage is:
>
> (gdb) info exceptions [REGEXP]
>
> Without argument, the command lists all exceptions. Otherwise,
> only those whose name match REGEXP are listed.

Hmm? A new command without documentation? Did I miss something?

> + add_info ("exceptions", info_exceptions_command,
> + _("\
> +List all Ada exception names. If a regexp is passed as an argument,\n\

You cannot have a period in the first line of a doc string, except at
the end of the line, because commands like 'apropos' stop at the first
period.

Thanks.