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: [commit] Support 64-bit constants/enums on 32-bit host [Re: [PATCH] Allow 64-bit enum values]


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


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