Summary: | Gdb can't lookup class typedef when in methods of the class | ||
---|---|---|---|
Product: | gdb | Reporter: | James Ingham <jingham> |
Component: | c++ | Assignee: | Tom Tromey <tromey> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andre.poenitz, gdb-prs, jan, tromey, yoursindu, yuri |
Priority: | P3 | ||
Version: | unknown | ||
Target Milestone: | 7.6 | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | main.cpp |
Description
James Ingham
2004-09-22 20:38:01 UTC
*** Bug 9376 has been marked as a duplicate of this bug. *** *** Bug 14819 has been marked as a duplicate of this bug. *** Testing a fix. *** Bug 12585 has been marked as a duplicate of this bug. *** *** Bug 13544 has been marked as a duplicate of this bug. *** *** Bug 12563 has been marked as a duplicate of this bug. *** *** Bug 11912 has been marked as a duplicate of this bug. *** CVSROOT: /cvs/src Module name: src Changes by: tromey@sourceware.org 2012-12-14 21:19:11 Modified files: gdb : ChangeLog c-exp.y symtab.c gdb/testsuite : ChangeLog Added files: gdb/testsuite/gdb.cp: member-name.cc member-name.exp Log message: PR c++/8888: * symtab.c (lookup_symbol_aux): If constructor is found, consider returning the type instead. * c-exp.y (classify_name): Check STRUCT_DOMAIN if a constructor is found. testsuite * gdb.cp/member-name.exp: New file. * gdb.cp/member-name.cc: New file. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14926&r2=1.14927 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-exp.y.diff?cvsroot=src&r1=1.107&r2=1.108 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/symtab.c.diff?cvsroot=src&r1=1.329&r2=1.330 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3491&r2=1.3492 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/member-name.cc.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/member-name.exp.diff?cvsroot=src&r1=NONE&r2=1.1 Fix checked in. |