This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/482: gdb.c++/local.exp: ptype InnerLocal::NestedInnerLocal
- From: mec at shout dot net
- To: gdb-gnats at sources dot redhat dot com
- Date: 12 Apr 2002 18:09:27 -0000
- Subject: gdb/482: gdb.c++/local.exp: ptype InnerLocal::NestedInnerLocal
- Reply-to: mec at shout dot net
>Number: 482
>Category: gdb
>Synopsis: gdb.c++/local.exp: ptype InnerLocal::NestedInnerLocal
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 12 11:18:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: mec@shout.net
>Release: gdb HEAD%20020411
>Organization:
>Environment:
target = native, host = i686-pc-linux-gnu%rh-7.2, gdb = HEAD%200204011, gcc = 3.0.4, goption = -gstabs+
>Description:
gdb.log excerpt:
ptype InnerLocal::NestedInnerLocal^M
There is no field named NestedInnerLocal^M
(gdb) FAIL: gdb.c++/local.exp: ptype InnerLocal::NestedInnerLocal (bogus field lookup)
InnerLocal::NestedInnerLocal is a class, but gdb is unable to find it in the ptype command.
This happens with gcc = 2.95.3, 2.96-rh, 3.0.4, gcc-3_1-branch%20020411, HEAD%20020411 and with goption = -gdwarf-2, -gstabs+.
This bug has been present for a long time but the test suite detects it now.
See these files for context:
ftp://ftp.shout.net/pub/users/mec/gdb/2002-04-11,native,i686-pc-linux-gnu%rh-7.2,HEAD,3.0.4,g-stabs+.tar.gz
ftp://ftp.shout.net/pub/users/mec/gdb/2002-04-11,HEAD,testsuite-src.tar.gz
>How-To-Repeat:
Run test script gdb.c++/local.exp on native i686-pc-linux-gnu with any gcc and any choice of goption.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: