diff --git a/gdb-6.8-bz466901-backtrace-never-aborts.patch b/gdb-6.8-bz466901-backtrace-never-aborts.patch index 71704bc..895669c 100644 --- a/gdb-6.8-bz466901-backtrace-never-aborts.patch +++ b/gdb-6.8-bz466901-backtrace-never-aborts.patch @@ -36,7 +36,7 @@ + struct ui_file *stream) { - struct value *val = read_var_value (var, frame); -+ struct value *val; ++ struct value *val = NULL; /* A false GCC warning. */ + struct gdb_exception e; - value_print (val, stream, 0, Val_pretty_default); diff --git a/gdb.spec b/gdb.spec index ee75a29..9c8f5aa 100644 --- a/gdb.spec +++ b/gdb.spec @@ -13,7 +13,7 @@ Version: 6.8 # 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. -Release: 27%{?_with_upstream:.upstream}%{?dist} +Release: 28%{?_with_upstream:.upstream}%{?dist} License: GPLv3+ Group: Development/Debuggers @@ -896,6 +896,9 @@ fi %endif %changelog +* Thu Nov 6 2008 Jan Kratochvil - 6.8-28 +- Fix the "never terminate `bt full'" patch false GCC warning / build error. + * Thu Nov 6 2008 Jan Kratochvil - 6.8-27 - Fix resolving of variables at locations lists in prelinked libs (BZ 466901), bugreported by Michal Babej.