[Bug c++/11543] New: using-directive does not autocomplete

jan dot kratochvil at redhat dot com sourceware-bugzilla@sourceware.org
Mon Apr 26 21:18:00 GMT 2010


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.



More information about the Gdb-prs mailing list