]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-bz631158-cxx-this-lookup.patch
- updated (performance fixes).
[packages/gdb.git] / gdb-bz631158-cxx-this-lookup.patch
1 https://bugzilla.redhat.com/show_bug.cgi?id=631158
2 http://sourceware.org/ml/gdb-patches/2010-09/msg00229.html
3 Subject: [patch] PR 11992 "Regression: C++ this scope sometimes does not work"
4
5 --- gdb-7.2/gdb/c-exp.y.orig    2010-08-19 17:50:00.000000000 +0200
6 +++ gdb-7.2/gdb/c-exp.y 2010-09-11 20:30:15.000000000 +0200
7 @@ -2422,6 +2422,7 @@ classify_name (struct block *block)
8  
9    if (sym == NULL
10        && parse_language->la_language == language_cplus
11 +      && !is_a_field_of_this
12        && !lookup_minimal_symbol (copy, NULL, NULL))
13      return UNKNOWN_CPP_NAME;
14  
This page took 0.278377 seconds and 3 git commands to generate.