2002-04-29 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 29 Apr 2002 15:10:06 +0000 (15:10 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 29 Apr 2002 15:10:06 +0000 (15:10 +0000)
commitace1378a15191b4c8494aea42af567264b14e27b
tree3e9a3d66245bcd8d1fc1c8a36a049498fa18521a
parent2b9848d845656f4864fe9df4b148a9ff8566f153
2002-04-29  Elena Zannoni  <ezannoni@redhat.com>

* rs6000-tdep.c (rs6000_extract_return_value,
rs6000_store_return_value): Handle returning vectors.
(rs6000_gdbarch_init): Use
ppc_sysv_abi_broken_use_struct_convention for native sysv cases.
* ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
New function.
(ppc_sysv_abi_use_struct_convention): Deal with functions returning
vectors.
(ppc_sysv_abi_push_arguments): Handle vector parameters.
* ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export.
gdb/ChangeLog
gdb/ppc-linux-tdep.c
gdb/ppc-tdep.h
gdb/rs6000-tdep.c