- Fix symbol lookup misses methods of current class (BZ 631158, Sami Wagiaalla).
This commit is contained in:
parent
df63b36b2b
commit
06ce37c08c
|
@ -0,0 +1,14 @@
|
||||||
|
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;
|
||||||
|
|
9
gdb.spec
9
gdb.spec
|
@ -36,7 +36,7 @@ Version: 7.1
|
||||||
|
|
||||||
# The release always contains a leading reserved number, start it at 1.
|
# The release always contains a leading reserved number, start it at 1.
|
||||||
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
||||||
Release: 33%{?_with_upstream:.upstream}%{dist}
|
Release: 34%{?_with_upstream:.upstream}%{dist}
|
||||||
|
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and GFDL and BSD and Public Domain
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and GFDL and BSD and Public Domain
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
|
@ -542,6 +542,9 @@ Patch494: gdb-bz620012-slow-long-bt.patch
|
||||||
# Fix GDB regression for starting on r/o filesystem (BZ 602644).
|
# Fix GDB regression for starting on r/o filesystem (BZ 602644).
|
||||||
Patch495: gdb-bz602644-ro-filesystem.patch
|
Patch495: gdb-bz602644-ro-filesystem.patch
|
||||||
|
|
||||||
|
# Fix symbol lookup misses methods of current class (BZ 631158, Sami Wagiaalla).
|
||||||
|
Patch500: gdb-bz631158-cxx-this-lookup.patch
|
||||||
|
|
||||||
BuildRequires: ncurses-devel%{?_isa} texinfo gettext flex bison expat-devel%{?_isa}
|
BuildRequires: ncurses-devel%{?_isa} texinfo gettext flex bison expat-devel%{?_isa}
|
||||||
Requires: readline%{?_isa}
|
Requires: readline%{?_isa}
|
||||||
BuildRequires: readline-devel%{?_isa}
|
BuildRequires: readline-devel%{?_isa}
|
||||||
|
@ -849,6 +852,7 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
|
||||||
%patch492 -p1
|
%patch492 -p1
|
||||||
%patch494 -p1
|
%patch494 -p1
|
||||||
%patch495 -p1
|
%patch495 -p1
|
||||||
|
%patch500 -p1
|
||||||
|
|
||||||
%patch415 -p1
|
%patch415 -p1
|
||||||
%patch393 -p1
|
%patch393 -p1
|
||||||
|
@ -1181,6 +1185,9 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 11 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.1-34.fc13
|
||||||
|
- Fix symbol lookup misses methods of current class (BZ 631158, Sami Wagiaalla).
|
||||||
|
|
||||||
* Thu Aug 19 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.1-33.fc13
|
* Thu Aug 19 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.1-33.fc13
|
||||||
- Fix crash on MI variable calling inferior function (BZ 610986).
|
- Fix crash on MI variable calling inferior function (BZ 610986).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue