diff options
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index fc70f75..7e8c697 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -200,7 +200,6 @@ struct gdbarch gdbarch_memory_remove_breakpoint_ftype *memory_remove_breakpoint; CORE_ADDR decr_pc_after_break; CORE_ADDR deprecated_function_start_offset; - gdbarch_remote_translate_xfer_address_ftype *remote_translate_xfer_address; gdbarch_remote_register_number_ftype *remote_register_number; gdbarch_fetch_tls_load_module_address_ftype *fetch_tls_load_module_address; CORE_ADDR frame_args_skip; @@ -327,7 +326,6 @@ struct gdbarch startup_gdbarch = 0, /* memory_remove_breakpoint */ 0, /* decr_pc_after_break */ 0, /* deprecated_function_start_offset */ - generic_remote_translate_xfer_address, /* remote_translate_xfer_address */ default_remote_register_number, /* remote_register_number */ 0, /* fetch_tls_load_module_address */ 0, /* frame_args_skip */ @@ -438,7 +436,6 @@ gdbarch_alloc (const struct gdbarch_info *info, current_gdbarch->deprecated_use_struct_convention = generic_use_struct_convention; current_gdbarch->memory_insert_breakpoint = default_memory_insert_breakpoint; current_gdbarch->memory_remove_breakpoint = default_memory_remove_breakpoint; - current_gdbarch->remote_translate_xfer_address = generic_remote_translate_xfer_address; current_gdbarch->remote_register_number = default_remote_register_number; current_gdbarch->stabs_argument_has_addr = default_stabs_argument_has_addr; current_gdbarch->convert_from_func_ptr_addr = convert_from_func_ptr_addr_identity; @@ -581,7 +578,6 @@ verify_gdbarch (struct gdbarch *current_gdbarch) /* Skip verify of memory_remove_breakpoint, invalid_p == 0 */ /* Skip verify of decr_pc_after_break, invalid_p == 0 */ /* Skip verify of deprecated_function_start_offset, invalid_p == 0 */ - /* Skip verify of remote_translate_xfer_address, invalid_p == 0 */ /* Skip verify of remote_register_number, invalid_p == 0 */ /* Skip verify of fetch_tls_load_module_address, has predicate */ /* Skip verify of frame_args_skip, invalid_p == 0 */ @@ -1409,9 +1405,6 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) "gdbarch_dump: remote_register_number = <0x%lx>\n", (long) current_gdbarch->remote_register_number); fprintf_unfiltered (file, - "gdbarch_dump: remote_translate_xfer_address = <0x%lx>\n", - (long) current_gdbarch->remote_translate_xfer_address); - fprintf_unfiltered (file, "gdbarch_dump: gdbarch_return_value_p() = %d\n", gdbarch_return_value_p (current_gdbarch)); fprintf_unfiltered (file, @@ -2896,23 +2889,6 @@ set_gdbarch_deprecated_function_start_offset (struct gdbarch *gdbarch, gdbarch->deprecated_function_start_offset = deprecated_function_start_offset; } -void -gdbarch_remote_translate_xfer_address (struct gdbarch *gdbarch, struct regcache *regcache, CORE_ADDR gdb_addr, int gdb_len, CORE_ADDR *rem_addr, int *rem_len) -{ - gdb_assert (gdbarch != NULL); - gdb_assert (gdbarch->remote_translate_xfer_address != NULL); - if (gdbarch_debug >= 2) - fprintf_unfiltered (gdb_stdlog, "gdbarch_remote_translate_xfer_address called\n"); - gdbarch->remote_translate_xfer_address (gdbarch, regcache, gdb_addr, gdb_len, rem_addr, rem_len); -} - -void -set_gdbarch_remote_translate_xfer_address (struct gdbarch *gdbarch, - gdbarch_remote_translate_xfer_address_ftype remote_translate_xfer_address) -{ - gdbarch->remote_translate_xfer_address = remote_translate_xfer_address; -} - int gdbarch_remote_register_number (struct gdbarch *gdbarch, int regno) { |