]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-bz631158-cxx-this-lookup.patch
- updated (performance fixes).
[packages/gdb.git] / gdb-bz631158-cxx-this-lookup.patch
CommitLineData
51a5ef0f
PS
1https://bugzilla.redhat.com/show_bug.cgi?id=631158
2http://sourceware.org/ml/gdb-patches/2010-09/msg00229.html
3Subject: [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.160637 seconds and 4 git commands to generate.