https://bugzilla.redhat.com/show_bug.cgi?id=631158 http://sourceware.org/ml/gdb-patches/2010-09/msg00229.html Subject: [patch] PR 11992 "Regression: C++ this scope sometimes does not work" --- ./gdb/c-exp.y 2010-09-11 19:34:17.000000000 +0200 +++ ./gdb/c-exp.y 2010-09-11 19:14:39.000000000 +0200 @@ -2529,6 +2529,7 @@ yylex (void) if (sym == NULL && parse_language->la_language == language_cplus + && !is_a_field_of_this && !lookup_minimal_symbol (tmp, NULL, NULL)) return UNKNOWN_CPP_NAME;