This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/11543] New: using-directive does not autocomplete
- From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 26 Apr 2010 21:18:23 -0000
- Subject: [Bug c++/11543] New: using-directive does not autocomplete
- Reply-to: sourceware-bugzilla at sourceware dot org
namespace A { int variablex = 1; }
int main (void)
{
int variabley = 2;
using namespace A;
return 0; /* break-here */
}
-------------------------------------------------------------------------------
(gdb) p variablex
$1 = 1
(gdb) p variabley
$2 = 2
But when I type
(gdb) p vari<tab>
it autocompletes to:
(gdb) p variabley
without any trace of "variablex" being also available.
I am not completely sure it is the right behavior but I believe so.
--
Summary: using-directive does not autocomplete
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at sourceware dot org
ReportedBy: jan dot kratochvil at redhat dot com
CC: gdb-prs at sourceware dot org,swagiaal at redhat dot com
GCC target triplet: x86_64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11543
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.