diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-04-29 15:10:06 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-04-29 15:10:06 +0000 |
commit | ace1378a15191b4c8494aea42af567264b14e27b (patch) | |
tree | 3e9a3d66245bcd8d1fc1c8a36a049498fa18521a /gdb/ppc-tdep.h | |
parent | 2b9848d845656f4864fe9df4b148a9ff8566f153 (diff) | |
download | gdb-ace1378a15191b4c8494aea42af567264b14e27b.zip gdb-ace1378a15191b4c8494aea42af567264b14e27b.tar.gz gdb-ace1378a15191b4c8494aea42af567264b14e27b.tar.bz2 |
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.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r-- | gdb/ppc-tdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h index 5dc2db2..3da66ad 100644 --- a/gdb/ppc-tdep.h +++ b/gdb/ppc-tdep.h @@ -32,6 +32,7 @@ int ppc_linux_frameless_function_invocation (struct frame_info *); void ppc_linux_frame_init_saved_regs (struct frame_info *); CORE_ADDR ppc_linux_frame_chain (struct frame_info *); int ppc_sysv_abi_use_struct_convention (int, struct type *); +int ppc_sysv_abi_broken_use_struct_convention (int, struct type *); CORE_ADDR ppc_sysv_abi_push_arguments (int, struct value **, CORE_ADDR, int, CORE_ADDR); int ppc_linux_memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache); |