diff --git a/gdb-bz578250-avx-10of10-ppc.patch b/gdb-bz578250-avx-10of10-ppc.patch new file mode 100755 index 0000000..c5ce275 --- /dev/null +++ b/gdb-bz578250-avx-10of10-ppc.patch @@ -0,0 +1,16 @@ +http://sourceware.org/ml/gdb-patches/2010-04/msg00056.html + +linux-ppc-low.c:599: error: incompatible types when initializing type ‘enum regset_type’ using type ‘void (*)(struct regcache *, void *)’ +linux-ppc-low.c:599: warning: initialization from incompatible pointer type + +--- a/gdb/gdbserver/linux-ppc-low.c ++++ b/gdb/gdbserver/linux-ppc-low.c +@@ -594,7 +594,7 @@ struct regset_info target_regsets[] = { + PPC_PTRACE_GETREGS. */ + { PTRACE_GETVSXREGS, PTRACE_SETVSXREGS, 0, SIZEOF_VSXREGS, EXTENDED_REGS, + ppc_fill_vsxregset, ppc_store_vsxregset }, +- { PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS, EXTENDED_REGS, ++ { PTRACE_GETVRREGS, PTRACE_SETVRREGS, 0, SIZEOF_VRREGS, EXTENDED_REGS, + ppc_fill_vrregset, ppc_store_vrregset }, + { PTRACE_GETEVRREGS, PTRACE_SETEVRREGS, 0, 32 * 4 + 8 + 4, EXTENDED_REGS, + ppc_fill_evrregset, ppc_store_evrregset }, diff --git a/gdb.spec b/gdb.spec index 6d4109d..553b99a 100644 --- a/gdb.spec +++ b/gdb.spec @@ -36,7 +36,7 @@ Version: 7.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. -Release: 6%{?_with_upstream:.upstream}%{dist} +Release: 7%{?_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 Group: Development/Debuggers @@ -455,6 +455,7 @@ Patch445: gdb-bz578250-avx-07of10.patch Patch446: gdb-bz578250-avx-08of10.patch Patch447: gdb-bz578250-avx-09of10.patch Patch448: gdb-bz578250-avx-10of10.patch +Patch449: gdb-bz578250-avx-10of10-ppc.patch BuildRequires: ncurses-devel%{?_isa} texinfo gettext flex bison expat-devel%{?_isa} Requires: readline%{?_isa} @@ -721,6 +722,7 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c %patch446 -p1 %patch447 -p1 %patch448 -p1 +%patch449 -p1 %patch415 -p1 %patch393 -p1 @@ -1053,6 +1055,9 @@ fi %endif %changelog +* Sat Apr 3 2010 Jan Kratochvil - 7.1-7.fc13 +- Fix ppc build of the AVX registers support (for BZ 578250). + * Sat Apr 3 2010 Jan Kratochvil - 7.1-6.fc13 - Support AVX registers (BZ 578250).