forked from Imagelibrary/binutils-gdb
* gdbarch.sh (remote_translate_xfer_address): Remove.
* gdbarch.h, gdbarch.c: Regenerate. * arch-utils.c (generic_remote_translate_xfer_address): Remove. * arch-utils.h (generic_remote_translate_xfer_address): Remove. * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not call gdbarch_remote_translate_xfer_address. * frv-tdep.c (frv_gdbarch_init): Do not call set_gdbarch_remote_translate_xfer_address. * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove. (ia64_gdbarch_init): Do not install it.
This commit is contained in:
12
gdb/remote.c
12
gdb/remote.c
@@ -4108,12 +4108,6 @@ remote_write_bytes_aux (const char *header, CORE_ADDR memaddr,
|
||||
internal_error (__FILE__, __LINE__,
|
||||
"remote_write_bytes_aux: bad packet format");
|
||||
|
||||
/* Should this be the selected frame? */
|
||||
gdbarch_remote_translate_xfer_address (current_gdbarch,
|
||||
current_regcache,
|
||||
memaddr, len,
|
||||
&memaddr, &len);
|
||||
|
||||
if (len <= 0)
|
||||
return 0;
|
||||
|
||||
@@ -4306,12 +4300,6 @@ remote_read_bytes (CORE_ADDR memaddr, gdb_byte *myaddr, int len)
|
||||
int max_buf_size; /* Max size of packet output buffer. */
|
||||
int origlen;
|
||||
|
||||
/* Should this be the selected frame? */
|
||||
gdbarch_remote_translate_xfer_address (current_gdbarch,
|
||||
current_regcache,
|
||||
memaddr, len,
|
||||
&memaddr, &len);
|
||||
|
||||
if (len <= 0)
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user