This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] New variable, 'max-completion-results'.
- From: Michael Snyder <msnyder at redhat dot com>
- To: Klee Dienes <klee at apple dot com>, gdb-patches at sources dot redhat dot com
- Date: Tue, 05 Nov 2002 14:07:26 -0800
- Subject: Re: [RFA] New variable, 'max-completion-results'.
- Organization: Red Hat, Inc.
- References: <D64D0BB4-F070-11D6-8361-00039396EEB8@apple.com>
Klee Dienes wrote:
>
> The following patch adds a new user-visible variable to GDB,
> 'max-completion-results'.
>
> It is used by the completion functions in symtab.c to limit the maximum
> number of results returned by the completion function, and defaults to
> 'unlimited'. I find it particuarly useful when using GDB under emacs,
> to prevent situations where hitting <tab> at the wrong time can lead to
> hundreds of thousands of results having to be sorted by
> complete_command.
What a great idea!