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: Function syntax


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> IWBN if this also included some help text that was somehow hooked into
Doug> help/apropos.  [maybe as fhelp, fapropos, or some such]

Yeah, good idea.

For Commands we already extract the Python docstring and present it
to the user as the help for the command.

Doing something similar for registered functions should be pretty easy.

FWIW I went ahead and changed the function syntax in the python
repository last week or so.  There is just a single built-in function
named "python" which evaluates its argument.

I did not try to change lexing of the text in $(...).  It would be
nice to have a consensus on that.

Tom


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