Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 50db34ef289d288e6865a77c2c573249 > files > 153

gdb-7.1-34.fc13.src.rpm

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;