This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: completion regression?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 8 Oct 2006 18:08:15 -0400
- Subject: Re: completion regression?
- References: <17705.28835.758720.533078@kahikatea.snap.net.nz>
On Mon, Oct 09, 2006 at 10:41:55AM +1300, Nick Roberts wrote:
>
> Completion doesn't seem to work as well as it used to, e.g in version 5.2. The
> manual doesn't differentiate but AFAICS there are three types: command,
> filename and location. Successful completion now always leaves a trailing
> space but its only really needed for commands (so following words can then be
> typed). It's not needed for locations and is a nuisance for filenames because
> using it on a filename requires the space to be deleted after successfully
> completing on each component/directory. It used to add a slash instead, which
> is much more useful.
Are you sure this isn't just happening for the very first time you do
it? This is a known bug, and I got a new hook added to readline5 that
would let us fix it, but never had time to get back to it. If it
worked before, I don't remember what changed that required the new
hook.
And obviously I've forgotten the details, since I just pulled up gdb
and typed "file /bin<tab>" and got a slash.
--
Daniel Jacobowitz
CodeSourcery