This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/11758] New: whatis does not dereference namespaced types
- From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 25 Jun 2010 17:39:25 -0000
- Subject: [Bug c++/11758] New: whatis does not dereference namespaced types
- Reply-to: sourceware-bugzilla at sourceware dot org
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.