From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Daniel Berlin Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Improve completion of locations Date: Sun, 06 May 2001 03:19:00 -0000 Message-id: References: X-SW-Source: 2001-05/msg00067.html On Sun, 6 May 2001, Daniel Berlin wrote: > Complete on 'fred: > > It'll list every symbol around (Or at least, 3792 of them, i would > imagine this is every single one, i never checked) This small patch (to be applied on top of the large one I sent) should solve this: --- gdb/completer.c~4 Sun May 6 09:50:42 2001 +++ gdb/completer.c Sun May 6 13:10:30 2001 @@ -215,6 +215,8 @@ location_completer (char *text, char *wo if (*p == quote_found) quote_found = 0; + else + break; /* hit the end of text */ } #if HAVE_DOS_BASED_FILE_SYSTEM /* If we have a DOS-style absolute file name at the beginning of