diff options
Diffstat (limited to 'gdb/ns32k-tdep.c')
-rw-r--r-- | gdb/ns32k-tdep.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/gdb/ns32k-tdep.c b/gdb/ns32k-tdep.c index d426113..6726c8c 100644 --- a/gdb/ns32k-tdep.c +++ b/gdb/ns32k-tdep.c @@ -1,6 +1,7 @@ /* Target dependent code for the NS32000, for GDB. - Copyright 1986, 1988, 1991, 1992, 1994, 1995, 1998, 1999, 2000, 2001, - 2002, 2003 Free Software Foundation, Inc. + + Copyright 1986, 1988, 1991, 1992, 1994, 1995, 1998, 1999, 2000, + 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -495,12 +496,6 @@ ns32k_store_return_value (struct type *valtype, char *valbuf) TYPE_LENGTH (valtype)); } -static CORE_ADDR -ns32k_extract_struct_value_address (char *regbuf) -{ - return (extract_unsigned_integer (regbuf + DEPRECATED_REGISTER_BYTE (0), DEPRECATED_REGISTER_RAW_SIZE (0))); -} - void ns32k_gdbarch_init_32082 (struct gdbarch *gdbarch) { @@ -582,8 +577,6 @@ ns32k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_store_struct_return (gdbarch, ns32k_store_struct_return); set_gdbarch_deprecated_extract_return_value (gdbarch, ns32k_extract_return_value); set_gdbarch_deprecated_store_return_value (gdbarch, ns32k_store_return_value); - set_gdbarch_deprecated_extract_struct_value_address (gdbarch, - ns32k_extract_struct_value_address); /* Call dummy info */ set_gdbarch_deprecated_push_dummy_frame (gdbarch, ns32k_push_dummy_frame); @@ -598,12 +591,8 @@ ns32k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_pc_in_call_dummy (gdbarch, deprecated_pc_in_call_dummy_on_stack); /* Breakpoint info */ - set_gdbarch_decr_pc_after_break (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, ns32k_breakpoint_from_pc); - /* Misc info */ - set_gdbarch_function_start_offset (gdbarch, 0); - /* Should be using push_dummy_call. */ set_gdbarch_deprecated_dummy_write_sp (gdbarch, deprecated_write_sp); |