PR c++/8888:
authorTom Tromey <tromey@redhat.com>
Fri, 14 Dec 2012 21:19:11 +0000 (21:19 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 14 Dec 2012 21:19:11 +0000 (21:19 +0000)
commit6592e36f33270932ce9f9d19fd6488b3754c1b95
tree8ad41b5bae9054ee31a7ce0404c5ab74a0d46577
parent7d27a96df4e297e7329e0e3856c6d6e346478c80
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.
gdb/ChangeLog
gdb/c-exp.y
gdb/symtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/member-name.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/member-name.exp [new file with mode: 0644]