This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/7587] gdb.c++/local.exp: ptype InnerLocal::NestedInnerLocal
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 20 Jan 2010 18:49:35 -0000
- Subject: [Bug c++/7587] gdb.c++/local.exp: ptype InnerLocal::NestedInnerLocal
- References: <20020412111800.7587.mec@shout.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From tromey at redhat dot com 2010-01-20 18:49 -------
A workaround is to use quotes:
(gdb) ptype InnerLocal::NestedInnerLocal
There is no field named NestedInnerLocal
(gdb) ptype 'InnerLocal::NestedInnerLocal'
type = class InnerLocal::NestedInnerLocal {
public:
int nil;
int nil_foo(int);
}
I'll check to see if this is fixed by the expr-cumulative branch.
(That branch removes the need for quotes in many cases.)
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=7587
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.