aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-07-13 16:38:04 +0000
committerMark Kettenis <kettenis@gnu.org>2003-07-13 16:38:04 +0000
commit249de4f63c200105160b5677c48dfd8d4af074ab (patch)
tree49a6c29db127a569def060a5ee309a01476fd95b /gdb
parent01e4b823654bfc22487dd3e81bc90926f420d010 (diff)
downloadgdb-249de4f63c200105160b5677c48dfd8d4af074ab.zip
gdb-249de4f63c200105160b5677c48dfd8d4af074ab.tar.gz
gdb-249de4f63c200105160b5677c48dfd8d4af074ab.tar.bz2
*** empty log message ***
Diffstat (limited to 'gdb')
-rw-r--r--gdb/x86-64-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index 8bb507c..a93af05 100644
--- a/gdb/x86-64-tdep.c
+++ b/gdb/x86-64-tdep.c
@@ -788,7 +788,8 @@ x86_64_store_return_value (struct type *type, struct regcache *regcache,
else if (TYPE_CODE_FLT == TYPE_CODE (type))
{
/* Handle double and float variables. */
- regcache_cooked_write_part (regcache, X86_64_XMM0_REGNUM, 0, len, buf);
+ regcache_cooked_write_part (regcache, X86_64_XMM0_REGNUM,
+ 0, len, valbuf);
}
/* XXX: What about complex floating point types? */
else