From: Mark Kettenis Date: Thu, 24 Jun 2004 19:36:41 +0000 (+0000) Subject: * sparc64-tdep.c (sparc64_store_arguments): Fix passing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d47079be51771f29a4815f46d9a8a3f76ee049f9;p=binutils-gdb.git * sparc64-tdep.c (sparc64_store_arguments): Fix passing quad-precision floating point arguments in registers. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d0e5fd49860..51e746b1277 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-06-24 Mark Kettenis + + * sparc64-tdep.c (sparc64_store_arguments): Fix passing + quad-precision floating point arguments in registers. + 2004-06-24 Mark Kettenis From Michael Mueller : diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index 1fbb442515c..a4398d57adb 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); } }