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: [RFA] Patch to limit field name completion candidates


> 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).


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