This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]