[RFC] Enhance completer for fields of structures.
Eli Zaretskii
eliz@is.elta.co.il
Mon Apr 22 03:54:00 GMT 2002
On Mon, 22 Apr 2002, Pierre Muller wrote:
> The patch attached below does allow me to get a
> correct completion of expressions like
> if X is a variable of type
> PRECORD, PRECORD being a pointer to type
> TRECORD = record
> x,y : longint;
> next : precord;
> end;
>
> (gdb) print X^.N
> if I press tab, I get X^.NEXT
> even if there are several global variables starting with letter N.
Sounds good, but please make sure the change doesn't break any past
behavior. For example, did you test it with C++ foo:bar and foo::bar
class members?
More information about the Gdb-patches
mailing list