| Reporter's email: |
mec@shout.net |
CC these people on PR status email: |
|
| |
|
| Number: |
482
|
| Category: |
c++
|
| 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: |
Fri Dec 06 12:52:55 PST 2002
|
| 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
|
| File Attachments: |
|
| 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: |
|
| Unformatted: |
|