]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-6.8-sparc64-silence-memcpy-check.patch
- update to gdb-7.0-7.fc12.src.rpm; but leave cactus patches as these seem newer
[packages/gdb.git] / gdb-6.8-sparc64-silence-memcpy-check.patch
CommitLineData
3a58abaf
AM
1diff -up gdb-6.8/gdb/sparc-tdep.c.BAD gdb-6.8/gdb/sparc-tdep.c
2--- gdb-6.8/gdb/sparc-tdep.c.BAD 2008-05-15 16:12:58.000000000 -0500
3+++ gdb-6.8/gdb/sparc-tdep.c 2008-05-15 16:13:41.000000000 -0500
4@@ -1122,6 +1122,7 @@ sparc32_store_return_value (struct type
5 if (sparc_floating_p (type))
6 {
7 /* Floating return values. */
8+ len = (len <= 8) ? len : 8;
9 memcpy (buf, valbuf, len);
10 regcache_cooked_write (regcache, SPARC_F0_REGNUM, buf);
11 if (len > 4)
This page took 0.027514 seconds and 4 git commands to generate.