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: [PATCH] Allow user-defined as a category for python gdb macros (resend)


On Wed, Feb 22, 2012 at 7:02 PM, Scott Goldman <scottjg@vmware.com> wrote:
> I amended the documentation as per your suggestion. I also added another sentence mentioning that the python docstring would be used for python commands.
>
> [...]
> ?@kindex help user-defined
> ?@item help user-defined
> -List all user-defined commands, with the first line of the documentation
> -(if any) for each.
> +List all user-defined commands and all python commands defined in class COMAND_USER. For user-defined commands, the first line of the documentation
> +(if any) is included. For python commands, the python docstring (if any) is included.

Have you tested this? And is the entire docstring printed or just the
first line?
[Guessing, I think it'll be just the first line, in which case I'd
reword that and just say the first line of the documentation or
docstring is included (if any).  Or whatever.]


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