Re: [commit] Support 64-bit constants/enums on 32-bit host [Re: [PATCH] Allow 64-bit enum values]

Jan Kratochvil
2012-04-17T15:23:36Z

On Tue, 17 Apr 2012 17:17:03 +0200, Tom Tromey wrote:
> The completion thing is an interesting idea.
> It does seem pointless to expand symtabs in this case.
> I wonder if there is a rationale.

The completion works also for C++ function parameters. For the parameters you
already need the symtabs expanded, to even just display them.

But sure in practice
(a) One completes on the function name part, not completing the parameters,
so in fact one does not need the expansion.
(b) If there are more than a handful options user sees just the first screen
and presses rather "q <return> to quit", so collecting parameters from all
the functions is also pointless.

Regards,
Jan