This is the mail archive of the gdb@sources.redhat.com 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]

Re: [rfc] Completion tests failing


> Date: Thu, 27 Sep 2001 13:00:26 -0400
> From: Daniel Jacobowitz <drow@mvista.com>
> 
> On Thu, Sep 27, 2001 at 05:37:10PM +0200, Eli Zaretskii wrote:
> > > Date: Thu, 27 Sep 2001 10:34:01 -0400
> > > From: Daniel Jacobowitz <drow@mvista.com>
> > > 
> > > I wanted to get a name that I knew would complete unambiguously, so I
> > > tried using '"break.', which ought to complete to '"break.c"'.  It
> > > completes instead to '"break.c ' - trailing space, no trailing quote.
> > 
> > Try this twice, one after the other, and you will see that only the
> > first time fails.  The second and all the successive times will
> > complete to `"break.c"'.
> 
> What do you mean by twice?  I can't get `"break.' to complete to `"break.c"'
> at all, no matter what I try.

Sorry, I didn't realize the importance of starting with "break.,
including the period.  Anything else correctly completes to "break.c".

The reason for this is that Readline only passes our completion
function the part after the period, so we never see the "break part.


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