This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/Ada 1/2] Add command to list Ada exceptions
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 07 Nov 2013 18:10:30 +0200
- Subject: Re: [RFC/Ada 1/2] Add command to list Ada exceptions
- Authentication-results: sourceware.org; auth=none
- References: <1383836650-6104-1-git-send-email-brobecker at adacore dot com> <1383836650-6104-2-git-send-email-brobecker at adacore dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.