From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18723 invoked by alias); 3 Dec 2009 10:47:39 -0000 Received: (qmail 18708 invoked by uid 48); 3 Dec 2009 10:47:39 -0000 Date: Thu, 03 Dec 2009 10:47:00 -0000 From: "dcl441-bugs at yahoo dot com" To: gdb-prs@sourceware.org Message-ID: <20091203104738.11048.dcl441-bugs@yahoo.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug tui/11048] New: [RFA] New variable max-completion-results X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00303.txt.bz2 This comes from an old message to the mailing list: http://osdir.com/ml/gdb.patches/2002-11/msg00043.html ------------------------------ 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. ------------------------------ Patch by Klee Dienes. Klee sent me in November 2008 an updated version of the patch, which I will attach here. Some more adaptation may be needed. -- Summary: [RFA] New variable max-completion-results Product: gdb Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: tui AssignedTo: unassigned at sourceware dot org ReportedBy: dcl441-bugs at yahoo dot com CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11048 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.