This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Revisit PR 16253 ("Attempt to use a type name...")
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 16 Jun 2015 18:28:59 +0200
- Subject: Re: [RFC] Revisit PR 16253 ("Attempt to use a type name...")
- Authentication-results: sourceware.org; auth=none
- References: <1434049038-7891-1-git-send-email-keiths at redhat dot com>
Hi Keith,
gcc-4.9.2-6.fc21.x86_64
PASS
gcc-5.1.1-1.fc22.x86_64
gcc-5.1.1-1.fc23.x86_64
FAIL: gdb.cp/var-tag.exp: before start: c++: ptype E
FAIL: gdb.cp/var-tag.exp: before start: c++: ptype ee
FAIL: gdb.cp/var-tag.exp: before start: c++: ptype EE
FAIL: gdb.cp/var-tag.exp: in main: c++: ptype E
FAIL: gdb.cp/var-tag.exp: in main: c++: ptype ee
FAIL: gdb.cp/var-tag.exp: in main: c++: ptype EE
FAIL: gdb.cp/var-tag.exp: in C::f: c++: ptype E
FAIL: gdb.cp/var-tag.exp: in C::f: c++: ptype ee
FAIL: gdb.cp/var-tag.exp: in C::f: c++: ptype EE
All the FAILs are like:
ptype E^M
-type = enum E {a, b, c}^M
-(gdb) PASS: gdb.cp/var-tag.exp: before start: c++: ptype E
+type = enum E : unsigned int {a, b, c}^M
+(gdb) FAIL: gdb.cp/var-tag.exp: before start: c++: ptype E
So it seems to me as an unrelated GDB<->GCC compatibility problem.
Jan