aboutsummaryrefslogtreecommitdiff
path: root/gdb/v850-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-17 18:45:25 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-17 18:45:25 +0000
commit464e0365d26d6de5eaa70d14c69a3028ed222deb (patch)
tree927a546c9b3e8821652d5e8e143919b6bd2129a6 /gdb/v850-tdep.c
parentafb18d0f3dcc99608b41b805fea3526653cee1e3 (diff)
downloadgdb-464e0365d26d6de5eaa70d14c69a3028ed222deb.zip
gdb-464e0365d26d6de5eaa70d14c69a3028ed222deb.tar.gz
gdb-464e0365d26d6de5eaa70d14c69a3028ed222deb.tar.bz2
2004-01-17 Andrew Cagney <cagney@redhat.com>
* mcore-tdep.c: Update copyright. (mcore_extract_struct_value_address): Delete function. Update comments. (mcore_gdbarch_init): Update. * mn10300-tdep.c: Update copyright. (mn10300_extract_struct_value_address): Delete function. (mn10300_gdbarch_init): Update. * v850-tdep.c: Update copyright. (v850_extract_struct_value_address): Delete. (v850_gdbarch_init): Update. * ns32k-tdep.c: Update copyright. (ns32k_extract_struct_value_address): Delete. (ns32k_gdbarch_init): Update. * hppa-tdep.c (hppa_extract_struct_value_address): Delete. (hppa_gdbarch_init): Update. * vax-tdep.c: Update copyright. (vax_extract_struct_value_address): Delete. (vax_gdbarch_init): Update.
Diffstat (limited to 'gdb/v850-tdep.c')
-rw-r--r--gdb/v850-tdep.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index 44ea93b..385c95c 100644
--- a/gdb/v850-tdep.c
+++ b/gdb/v850-tdep.c
@@ -1,6 +1,7 @@
/* Target-dependent code for the NEC V850 for GDB, the GNU debugger.
- Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2003
- Free Software Foundation, Inc.
+
+ Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free
+ Software Foundation, Inc.
This file is part of GDB.
@@ -1088,13 +1089,6 @@ v850_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
return breakpoint;
}
-static CORE_ADDR
-v850_extract_struct_value_address (char *regbuf)
-{
- return extract_unsigned_integer (regbuf + v850_register_byte (E_V0_REGNUM),
- v850_register_raw_size (E_V0_REGNUM));
-}
-
static void
v850_store_return_value (struct type *type, char *valbuf)
{
@@ -1272,7 +1266,6 @@ v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_deprecated_pop_frame (gdbarch, v850_pop_frame);
set_gdbarch_deprecated_store_struct_return (gdbarch, v850_store_struct_return);
set_gdbarch_deprecated_store_return_value (gdbarch, v850_store_return_value);
- set_gdbarch_deprecated_extract_struct_value_address (gdbarch, v850_extract_struct_value_address);
set_gdbarch_use_struct_convention (gdbarch, v850_use_struct_convention);
set_gdbarch_deprecated_call_dummy_words (gdbarch, call_dummy_nil);
set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, 0);