From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7475 invoked by alias); 5 Nov 2002 22:07:41 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7467 invoked from network); 5 Nov 2002 22:07:40 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 5 Nov 2002 22:07:40 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gA5Lj7w25736 for ; Tue, 5 Nov 2002 16:45:07 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gA5M7Wl23583; Tue, 5 Nov 2002 17:07:32 -0500 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id gA5M7QD16586; Tue, 5 Nov 2002 14:07:26 -0800 Message-ID: <3DC8411E.22744B71@redhat.com> Date: Tue, 05 Nov 2002 14:07:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Klee Dienes , gdb-patches@sources.redhat.com Subject: Re: [RFA] New variable, 'max-completion-results'. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00066.txt.bz2 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 at the wrong time can lead to > hundreds of thousands of results having to be sorted by > complete_command. What a great idea!