public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11543] New: using-directive does not autocomplete
@ 2010-04-26 21:18 jan dot kratochvil at redhat dot com
  2010-04-27 16:47 ` [Bug c++/11543] " cmoller at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-26 21:18 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-22 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-26 21:18 [Bug c++/11543] New: using-directive does not autocomplete jan dot kratochvil at redhat dot com
2010-04-27 16:47 ` [Bug c++/11543] " cmoller at redhat dot com
2010-04-28 15:30 ` swagiaal at redhat dot com
2010-04-28 17:27 ` cmoller at redhat dot com
2010-07-22 15:38 ` swagiaal at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).