2003-10-03 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 3 Oct 2003 21:11:39 +0000 (21:11 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 3 Oct 2003 21:11:39 +0000 (21:11 +0000)
commitafd48b755b8aa259b9a7e287cc88642351a887c1
tree6b79b0ffab5a26030774902e97be0431dfc763f2
parent268e2188466a6af7c98a68358c90141a54d1481d
2003-10-03  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): When the 64 bit SysV ABI,
set extract_return_value, store_return_value and
use_struct_convention to ppc64_sysv_abi_extract_return_value,
ppc64_sysv_abi_store_return_value and
ppc64_sysv_abi_use_struct_convention.
* ppc-tdep.h (ppc64_sysv_abi_extract_return_value): Declare.
(ppc64_sysv_abi_store_return_value): Declare.
(ppc64_sysv_abi_use_struct_convention): Declare.
* ppc-sysv-tdep.c (enum return_value_convention): Define.
(ppc64_sysv_abi_extract_return_value): New function.
(ppc64_sysv_abi_store_return_value): New function.
(ppc64_sysv_abi_use_struct_convention): New function.
(ppc64_sysv_abi_return_value): New function.
gdb/ChangeLog
gdb/ppc-sysv-tdep.c
gdb/ppc-tdep.h
gdb/rs6000-tdep.c