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 gdb/22584] New: Regression: expression completer and scope operator ("p std::[TAB]" => "p std::std::")


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

            Bug ID: 22584
           Summary: Regression: expression completer and scope operator
                    ("p std::[TAB]" => "p std::std::")
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: palves at redhat dot com
  Target Milestone: ---

I noticed this regression in the expression completer:

 "(gdb) p std::[TAB]" => "(gdb) p std::std::"

obviously we should have not completed to "std::std::".

Looks like I forgot to take into account the fact that with expressions, the
completion word point is not always at the start of the symbol name (it is with
linespecs).

I know how to fix it, just need to find time to get to it.

Filing so we don't forget before 8.1 is out.

-- 
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]