]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ppc-sysv-tdep.c
2003-10-10 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 10 Oct 2003 21:32:47 +0000 (21:32 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 10 Oct 2003 21:32:47 +0000 (21:32 +0000)
commite754ae69e1edcc0097c2fed2955716e181680e67
treeec87a8f7d7e3ed9e25015dc95f7afe5b3e916565
parent8d4ce20aa3ed34265884df3a9b426028e26b9ab5
2003-10-10  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (e500_store_return_value): Delete function.
(e500_extract_return_value): Delete function.
(rs6000_gdbarch_init): When SYSV, set "extract_return_value" and
"restore_return_value" to "ppc_sysv_abi_extract_return_value" and
"ppc_sysv_abi_restore_return_value" where applicable.
* ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare.
(ppc_sysv_abi_extract_return_value): Declare.
(ppc_sysv_abi_broken_store_return_value): Declare.
(ppc_sysv_abi_broken_extract_return_value): Declare.
(ppc_sysv_abi_broken_use_struct_convention:) Delete declaration.
* ppc-sysv-tdep.c (return_value_convention): Move definition to
start of file.
(do_ppc_sysv_return_value): New function.
(ppc_sysv_abi_extract_return_value): New function.
(ppc_sysv_abi_store_return_value): New function.
(ppc_sysv_abi_broken_extract_return_value): New function.
(ppc_sysv_abi_broken_store_return_value): New function.
(ppc_sysv_abi_use_struct_convention): Call
do_ppc_sysv_return_value.
gdb/ChangeLog
gdb/ppc-sysv-tdep.c
gdb/ppc-tdep.h
gdb/ppcnbsd-tdep.c
gdb/rs6000-tdep.c