aboutsummaryrefslogtreecommitdiff
path: root/gdb/frv-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-18 17:56:32 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-18 17:56:32 +0000
commit8ed6a7ba981033bf5d572e41e22e1eb860fe24c7 (patch)
tree07f650d6fcd49ec634b9061309a4912306e89277 /gdb/frv-tdep.c
parent3e8c568d4fc67da218a87d51da180bba5ad585f1 (diff)
downloadgdb-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/frv-tdep.c')
-rw-r--r--gdb/frv-tdep.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c
index b339bb9..588e301 100644
--- a/gdb/frv-tdep.c
+++ b/gdb/frv-tdep.c
@@ -1049,14 +1049,6 @@ frv_extract_return_value (struct type *type, struct regcache *regcache,
}
static CORE_ADDR
-frv_extract_struct_value_address (struct regcache *regcache)
-{
- ULONGEST addr;
- regcache_cooked_read_unsigned (regcache, struct_return_regnum, &addr);
- return addr;
-}
-
-static CORE_ADDR
frv_frame_align (struct gdbarch *gdbarch, CORE_ADDR sp)
{
/* Require dword alignment. */
@@ -1502,7 +1494,6 @@ frv_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_extract_return_value (gdbarch, frv_extract_return_value);
set_gdbarch_store_return_value (gdbarch, frv_store_return_value);
- set_gdbarch_deprecated_extract_struct_value_address (gdbarch, frv_extract_struct_value_address);
/* Frame stuff. */
set_gdbarch_unwind_pc (gdbarch, frv_unwind_pc);