[PATCH] Add autocompletion for convenience vars in print and set

Daniel Gutson daniel.gutson@tallertechnologies.com
Tue May 20 15:52:00 GMT 2014


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



More information about the Gdb-patches mailing list