rpms/gdb/devel gdb-6.8-sparc64-silence-memcpy-check.patch, NONE, 1.1 gdb.spec, 1.288, 1.289
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Thu May 15 23:28:08 UTC 2008
Author: spot
Update of /cvs/pkgs/rpms/gdb/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3065/devel
Modified Files:
gdb.spec
Added Files:
gdb-6.8-sparc64-silence-memcpy-check.patch
Log Message:
Silence memcpy check which returns false positive (sparc64)
gdb-6.8-sparc64-silence-memcpy-check.patch:
--- NEW FILE gdb-6.8-sparc64-silence-memcpy-check.patch ---
diff -up gdb-6.8/gdb/sparc-tdep.c.BAD gdb-6.8/gdb/sparc-tdep.c
--- gdb-6.8/gdb/sparc-tdep.c.BAD 2008-05-15 16:12:58.000000000 -0500
+++ gdb-6.8/gdb/sparc-tdep.c 2008-05-15 16:13:41.000000000 -0500
@@ -1122,6 +1122,7 @@ sparc32_store_return_value (struct type
if (sparc_floating_p (type))
{
/* Floating return values. */
+ len = (len <= 8) ? len : 8;
memcpy (buf, valbuf, len);
regcache_cooked_write (regcache, SPARC_F0_REGNUM, buf);
if (len > 4)
Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.288
retrieving revision 1.289
diff -u -r1.288 -r1.289
--- gdb.spec 15 May 2008 21:26:13 -0000 1.288
+++ gdb.spec 15 May 2008 23:27:24 -0000 1.289
@@ -13,7 +13,7 @@
# 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: 7%{?_with_upstream:.upstream}%{?dist}
+Release: 8%{?_with_upstream:.upstream}%{?dist}
License: GPLv3+
Group: Development/Debuggers
@@ -352,6 +352,9 @@
# Enable program counter for processing PTID to PC (sparc/sparc64)
Patch316: gdb-6.8-sparc-fix.patch
+# Silence memcpy check which returns false positive (sparc64)
+Patch317: gdb-6.8-sparc64-silence-memcpy-check.patch
+
BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu gettext
BuildRequires: flex bison sharutils expat-devel
Requires: readline
@@ -528,6 +531,7 @@
%patch314 -p1
%patch315 -p1
%patch316 -p1
+%patch317 -p1
%patch124 -p1
find -name "*.orig" | xargs rm -f
@@ -777,6 +781,9 @@
%endif
%changelog
+* Thu May 15 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 6.8-8
+- Silence memcpy check which returns false positive (sparc64)
+
* Thu May 15 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 6.8-7
- patch from DaveM for sparc/sparc64
- touch up spec to enable sparcv9/sparc64
More information about the fedora-extras-commits
mailing list