[RFA] Patch to limit field name completion candidates

Eli Zaretskii eliz@gnu.org
Fri Jun 6 09:47:00 GMT 2008


> Cc: gdb-patches@sources.redhat.com
> From: Tom Tromey <tromey@redhat.com>
> Date: Thu, 05 Jun 2008 14:01:49 -0600
> 
> How about this?
> 
> * When completing in expressions, gdb will attempt to limit
> completions to allowable fields, where appropriate.  For instance,
> consider:
> 
>     # struct example { int f1; double f2; };
>     # struct example variable;
>     (gdb) p variable.
> 
> If the user types TAB at the end of this command line, the available
> completions will be "f1" and "f2".

This is fine, but please say "structure fields" in the 1st sentence
above (the one that follows the asterisk).



More information about the Gdb-patches mailing list