This is the mail archive of the gdb-patches@sources.redhat.com 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: add macro commands


Jim Blandy wrote:-

> > It would be nice to have completion only on macro names in these
> > commands.  But if that cannot be done easily, at least let's disable
> > completion entirely until something appropriate is coded.
> 
> I hadn't thought about completion at all.
> 
> Given that the macros are stored in a splay tree, they're all sorted
> in a way that would make efficient completion straightforward.  So it
> wouldn't be too hard to write a macro-only completion function.

Just in case you'd not realized, macro expansions are frequently
different, depending on location in the source files.

Neil.


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