rpms/gdb/F-13 gdb-bz578250-avx-10of10-ppc.patch, NONE, 1.1 gdb.spec, 1.424, 1.425

Jan Kratochvil jkratoch at fedoraproject.org
Sat Apr 3 22:16:09 UTC 2010


Author: jkratoch

Update of /cvs/pkgs/rpms/gdb/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12362

Modified Files:
	gdb.spec 
Added Files:
	gdb-bz578250-avx-10of10-ppc.patch 
Log Message:
* Sat Apr  3 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.1-7.fc13
- Fix ppc build of the AVX registers support (for BZ 578250).


gdb-bz578250-avx-10of10-ppc.patch:
 linux-ppc-low.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE gdb-bz578250-avx-10of10-ppc.patch ---
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 },


Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-13/gdb.spec,v
retrieving revision 1.424
retrieving revision 1.425
diff -u -p -r1.424 -r1.425
--- gdb.spec	3 Apr 2010 21:07:04 -0000	1.424
+++ gdb.spec	3 Apr 2010 22:16:09 -0000	1.425
@@ -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
 %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 <jan.kratochvil at redhat.com> - 7.1-7.fc13
+- Fix ppc build of the AVX registers support (for BZ 578250).
+
 * Sat Apr  3 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.1-6.fc13
 - Support AVX registers (BZ 578250).
 



More information about the scm-commits mailing list