This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add autocompletion for convenience vars in print and set
- From: Daniel Gutson <daniel dot gutson at tallertechnologies dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Date: Tue, 20 May 2014 12:52:21 -0300
- Subject: Re: [PATCH] Add autocompletion for convenience vars in print and set
- Authentication-results: sourceware.org; auth=none
- References: <CAF5HaEUYNe60EPby2Mxbgxy68unMpoxYr8BnQAQNUV_z04wVsw at mail dot gmail dot com>
I forgot to mention that if OK, please commit it for me since I don't have write
access.
Thanks,
Daniel.
On Tue, May 20, 2014 at 12:51 PM, Daniel Gutson
<daniel.gutson@tallertechnologies.com> wrote:
> Hi,
>
> this small patch adds autocompletion for convenience variables
> for 'print' and 'set' commands. I guess other commands using the
> same completers will be benefited as well.
>
> I could not find any testsuite where to add tests for this; if there are,
> please let me know.
>
>
> 2014-05-20 Daniel Gutson <daniel.gutson@tallertechnologies.com>
>
> gdb/
> * c-exp.y (exp): Do not create an internal var when completing.
> * completer.c (expression_completer): Call complete_internalvar.
> * symtab.c (make_symbol_completion_list): Call complete_internalvar.
--
Daniel F. Gutson
Chief Engineering Officer, SPD
San Lorenzo 47, 3rd Floor, Office 5
CÃrdoba, Argentina
Phone: +54 351 4217888 / +54 351 4218211
Skype: dgutson