Fix PR 11992: C++ 'this' scope sometimes does not work
authorSami Wagiaalla <swagiaal@redhat.com>
Mon, 13 Sep 2010 20:41:05 +0000 (20:41 +0000)
committerSami Wagiaalla <swagiaal@redhat.com>
Mon, 13 Sep 2010 20:41:05 +0000 (20:41 +0000)
commit450ca57cacb0f620f94fa16b7ab3ea6e0076383c
tree890c610158321bc2f8863f354c2b8172721954df
parent1aee7009881311b5aa08640a8f0a0f23f32fae6c
Fix PR 11992: C++ 'this' scope sometimes does not work

2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>

PR symtab/11992:
* c-exp.y (classify_name): Check is_a_member_of_this before returning
UNKNOWN_CPP_NAME.

2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/koenig.cc: created class for testing member lookup.
* gdb.cp/koenig.exp: Added test for member lookup.
gdb/ChangeLog
gdb/c-exp.y
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/koenig.cc
gdb/testsuite/gdb.cp/koenig.exp