This is the mail archive of the gdb-prs@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]

[Bug tui/11048] New: [RFA] New variable max-completion-results


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 <tab> 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.


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