This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Enhance completer for fields of structures.
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: Pierre Muller <muller at cerbere dot u-strasbg dot fr>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 22 Apr 2002 14:53:23 +0300 (IDT)
- Subject: Re: [RFC] Enhance completer for fields of structures.
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?