This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/22584] New: Regression: expression completer and scope operator ("p std::[TAB]" => "p std::std::")
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 11 Dec 2017 11:46:47 +0000
- Subject: [Bug gdb/22584] New: Regression: expression completer and scope operator ("p std::[TAB]" => "p std::std::")
- Auto-submitted: auto-generated
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.