diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-06-24 19:36:41 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-06-24 19:36:41 +0000 |
commit | d47079be51771f29a4815f46d9a8a3f76ee049f9 (patch) | |
tree | 45caabbc4dec4c99f347a783107d371e25bf5217 /gdb/sparc64-tdep.c | |
parent | 2107e348e65917bd71c3e8f53f8cad6f3ebb0f7a (diff) | |
download | fsf-binutils-gdb-d47079be51771f29a4815f46d9a8a3f76ee049f9.zip fsf-binutils-gdb-d47079be51771f29a4815f46d9a8a3f76ee049f9.tar.gz fsf-binutils-gdb-d47079be51771f29a4815f46d9a8a3f76ee049f9.tar.bz2 |
* sparc64-tdep.c (sparc64_store_arguments): Fix passing
quad-precision floating point arguments in registers.
Diffstat (limited to 'gdb/sparc64-tdep.c')
-rw-r--r-- | gdb/sparc64-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index 1fbb442..a4398d5 100644 --- a/gdb/sparc64-tdep.c +++ b/gdb/sparc64-tdep.c @@ -931,7 +931,7 @@ sparc64_store_arguments (struct regcache *regcache, int nargs, gdb_assert (element < 6); regnum = SPARC_O0_REGNUM + element; regcache_cooked_write (regcache, regnum, valbuf); - regcache_cooked_write (regcache, regnum + 1, valbuf); + regcache_cooked_write (regcache, regnum + 1, valbuf + 8); } } |