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 cli/16265] New: difference between TAB completion and "complete" command


https://sourceware.org/bugzilla/show_bug.cgi?id=16265

            Bug ID: 16265
           Summary: difference between TAB completion and "complete"
                    command
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at redhat dot com

Make a unique directory, e.g.:

mkdir /tmp/zzzzzzzzzzzz

Now in gdb:

(gdb) cd /tmp/zz<TAB>

I see:

(gdb) cd /tmp/zzzzzzzzzzzz/

Note the trailing "/".

Now try the complete command:

(gdb) complete cd /tmp/zz
cd /tmp/zzzzzzzzzzzz

Note the lack of the trailing "/".

This difference makes completion in Emacs harder to use.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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