This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/7587] gdb.c++/local.exp: ptype InnerLocal::NestedInnerLocal


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]