This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Support 64-bit constants/enums on 32-bit host [Re: [PATCH] Allow 64-bit enum values]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 17 Apr 2012 17:23:16 +0200
- Subject: Re: [commit] Support 64-bit constants/enums on 32-bit host [Re: [PATCH] Allow 64-bit enum values]
- References: <87d397syts.fsf@fleche.redhat.com> <20120229135148.GA32128@spoyarek.pnq.redhat.com> <20120301224428.GA30631@host2.jankratochvil.net> <20120305063542.GA30196@spoyarek.pnq.redhat.com> <20120305080512.GA12311@host2.jankratochvil.net> <20120321100630.GA14496@spoyarek.pnq.redhat.com> <20120417130833.GB15356@host2.jankratochvil.net> <878vhuwhrd.fsf@fleche.redhat.com> <20120417145208.GA26552@host2.jankratochvil.net> <87vckyv15c.fsf@fleche.redhat.com>
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