public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug c++/11758] New: whatis does not dereference namespaced types Date: Fri, 25 Jun 2010 17:39:00 -0000 [thread overview] Message-ID: <20100625173923.11758.jan.kratochvil@redhat.com> (raw) typedef int a; typedef a b; b x; namespace A { typedef int a; typedef a b; b x; } (gdb) whatis A::b Actual: type = A::b Expected: type = A::a (gdb) whatis A::a Actual: type = A::a Expected: type = int (gdb) ptype x type = int (gdb) whatis x type = b (gdb) whatis b type = a (gdb) whatis a type = int (gdb) ptype A::x type = int (gdb) whatis A::x type = A::b (gdb) whatis A::b type = A::b (gdb) whatis A::a type = A::a -- Summary: whatis does not dereference namespaced types Product: gdb Version: unknown Status: UNCONFIRMED Severity: normal 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=11758 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next reply other threads:[~2010-06-25 17:39 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-06-25 17:39 jan dot kratochvil at redhat dot com [this message] 2010-06-25 17:48 ` [Bug c++/11758] " jan dot kratochvil at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100625173923.11758.jan.kratochvil@redhat.com \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).