diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 17:56:32 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 17:56:32 +0000 |
commit | 8ed6a7ba981033bf5d572e41e22e1eb860fe24c7 (patch) | |
tree | 07f650d6fcd49ec634b9061309a4912306e89277 /gdb/sh-tdep.c | |
parent | 3e8c568d4fc67da218a87d51da180bba5ad585f1 (diff) | |
download | gdb-8ed6a7ba981033bf5d572e41e22e1eb860fe24c7.zip gdb-8ed6a7ba981033bf5d572e41e22e1eb860fe24c7.tar.gz gdb-8ed6a7ba981033bf5d572e41e22e1eb860fe24c7.tar.bz2 |
2007-06-18 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
* sh-tdep.c (sh_extract_struct_value_address): Remove.
(sh_gdbarch_init): Remove
set_gdbarch_deprecated_extract_struct_value_address.
* sh64-tdep.c (sh64_extract_struct_value_address): Remove.
(sh64_gdbarch_init): Remove
set_gdbarch_deprecated_extract_struct_value_address.
* ia64-tdep.c (ia64_extract_struct_value_address): Remove.
(ia64_gdbarch_init): Remove
set_gdbarch_deprecated_extract_struct_value_address.
* frv-tdep.c (frv_extract_struct_value_address): Remove.
(frv_gdbarch_init): Remove
set_gdbarch_deprecated_extract_struct_value_address.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index ca800ca..07cb3fa 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -815,18 +815,6 @@ sh_use_struct_convention (int gcc_p, struct type *type) return 1; } -/* Extract from an array REGBUF containing the (raw) register state - the address in which a function should return its structure value, - as a CORE_ADDR (or an expression that can be used as one). */ -static CORE_ADDR -sh_extract_struct_value_address (struct regcache *regcache) -{ - ULONGEST addr; - - regcache_cooked_read_unsigned (regcache, STRUCT_RETURN_REGNUM, &addr); - return addr; -} - static CORE_ADDR sh_frame_align (struct gdbarch *ignore, CORE_ADDR sp) { @@ -2751,8 +2739,6 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_register_sim_regno (gdbarch, legacy_register_sim_regno); set_gdbarch_return_value (gdbarch, sh_return_value_nofpu); - set_gdbarch_deprecated_extract_struct_value_address (gdbarch, - sh_extract_struct_value_address); set_gdbarch_skip_prologue (gdbarch, sh_skip_prologue); set_gdbarch_inner_than (gdbarch, core_addr_lessthan); |