- Fix the "never terminate `bt full'" patch false GCC warning / build

error.
This commit is contained in:
Jan Kratochvil 2008-11-06 22:35:31 +00:00
parent bdd0d9f59a
commit 3883e15b9c
2 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,7 @@
+ struct ui_file *stream) + struct ui_file *stream)
{ {
- struct value *val = read_var_value (var, frame); - struct value *val = read_var_value (var, frame);
+ struct value *val; + struct value *val = NULL; /* A false GCC warning. */
+ struct gdb_exception e; + struct gdb_exception e;
- value_print (val, stream, 0, Val_pretty_default); - value_print (val, stream, 0, Val_pretty_default);

View File

@ -13,7 +13,7 @@ Version: 6.8
# 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: 27%{?_with_upstream:.upstream}%{?dist} Release: 28%{?_with_upstream:.upstream}%{?dist}
License: GPLv3+ License: GPLv3+
Group: Development/Debuggers Group: Development/Debuggers
@ -896,6 +896,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Nov 6 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-28
- Fix the "never terminate `bt full'" patch false GCC warning / build error.
* Thu Nov 6 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-27 * Thu Nov 6 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-27
- Fix resolving of variables at locations lists in prelinked libs (BZ 466901), - Fix resolving of variables at locations lists in prelinked libs (BZ 466901),
bugreported by Michal Babej. bugreported by Michal Babej.