* i386-tdep.c (i386_extract_return_value,
authorMark Kettenis <kettenis@gnu.org>
Thu, 20 Nov 2003 22:37:50 +0000 (22:37 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 20 Nov 2003 22:37:50 +0000 (22:37 +0000)
commitc5e656c1c7ab1e26ead1530b708af08ac272b95d
tree1f1a2a03c44a233c64ebd1dff416a3dda2a47f5d
parent0d78efdfab83b824b6496ac65ea4c893e816f8ea
* i386-tdep.c (i386_extract_return_value,
i386_store_return_value): Add gdbarch argument.  Use it instead of
determining it from REGCACHE.  Remove recursive call for
structures with a single member.
(i386_use_struct_convention): Remove.
(i386_reg_struct_return_p): New function.
(i386_return_value): New function.
(i386_gdbarch_init): Set return_value, don't set
extract_return_value, store_return_value and
use_struct_convention.
* x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL.
gdb/ChangeLog
gdb/i386-tdep.c
gdb/x86-64-tdep.c