aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-14 00:25:05 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-14 00:25:05 +0000
commit73937e031a946d29ddfff632d478c904fed8d6ff (patch)
tree1b4ff7e695dc5a400bfc1bd493697f2daca10f79 /gdb/mips-tdep.c
parent2c85904f5a63ddaf3cf7054acbe23fee9c30fad2 (diff)
downloadgdb-73937e031a946d29ddfff632d478c904fed8d6ff.zip
gdb-73937e031a946d29ddfff632d478c904fed8d6ff.tar.gz
gdb-73937e031a946d29ddfff632d478c904fed8d6ff.tar.bz2
2002-11-13 Andrew Cagney <cagney@redhat.com>
* regcache.h (deprecated_read_register_bytes): Rename read_register_bytes. (deprecated_write_register_bytes): Rename write_register_bytes. * alpha-tdep.c, arm-tdep.c, cris-tdep.c, d10v-tdep.c: Update. * dwarf2cfi.c, frv-tdep.c, hppa-tdep.c, ia64-tdep.c: Update. * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. * ns32k-tdep.c, regcache.c, remote-sds.c, remote-vx.c: Update. * remote.c, rs6000-tdep.c, s390-tdep.c, sh-tdep.c: Update. * sparc-tdep.c, v850-tdep.c, vax-tdep.c, x86-64-tdep.c: Update. * xstormy16-tdep.c, z8k-tdep.c, config/nm-gnu.h: Update. * config/nm-m3.h, config/h8500/tm-h8500.h: Update. * config/i386/nm-ptx4.h, config/i386/nm-symmetry.h: Update. * config/m32r/tm-m32r.h, config/m68k/nm-sun3.h: Update. * config/m68k/tm-delta68.h, config/m68k/tm-linux.h: Update. * config/mn10200/tm-mn10200.h, config/pa/tm-hppa64.h: Update. * config/sparc/nm-nbsd.h, config/sparc/nm-sun4os4.h: Update. * config/sparc/nm-sun4sol2.h, config/sparc/tm-sparclet.h: Update. 2002-11-13 Andrew Cagney <ac131313@redhat.com> * mi-main.c (mi_cmd_data_write_register_values): Use deprecated_write_register_bytes instead of write_register_bytes.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 7071c10..739e058 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -4666,17 +4666,15 @@ mips_eabi_store_return_value (struct type *valtype, char *valbuf)
memset (raw_buffer, 0, sizeof (raw_buffer));
memcpy (raw_buffer + lo.reg_offset, valbuf + lo.buf_offset, lo.len);
- write_register_bytes (REGISTER_BYTE (lo.reg),
- raw_buffer,
- REGISTER_RAW_SIZE (lo.reg));
+ deprecated_write_register_bytes (REGISTER_BYTE (lo.reg), raw_buffer,
+ REGISTER_RAW_SIZE (lo.reg));
if (hi.len > 0)
{
memset (raw_buffer, 0, sizeof (raw_buffer));
memcpy (raw_buffer + hi.reg_offset, valbuf + hi.buf_offset, hi.len);
- write_register_bytes (REGISTER_BYTE (hi.reg),
- raw_buffer,
- REGISTER_RAW_SIZE (hi.reg));
+ deprecated_write_register_bytes (REGISTER_BYTE (hi.reg), raw_buffer,
+ REGISTER_RAW_SIZE (hi.reg));
}
}
@@ -4690,17 +4688,15 @@ mips_o64_store_return_value (struct type *valtype, char *valbuf)
memset (raw_buffer, 0, sizeof (raw_buffer));
memcpy (raw_buffer + lo.reg_offset, valbuf + lo.buf_offset, lo.len);
- write_register_bytes (REGISTER_BYTE (lo.reg),
- raw_buffer,
- REGISTER_RAW_SIZE (lo.reg));
+ deprecated_write_register_bytes (REGISTER_BYTE (lo.reg), raw_buffer,
+ REGISTER_RAW_SIZE (lo.reg));
if (hi.len > 0)
{
memset (raw_buffer, 0, sizeof (raw_buffer));
memcpy (raw_buffer + hi.reg_offset, valbuf + hi.buf_offset, hi.len);
- write_register_bytes (REGISTER_BYTE (hi.reg),
- raw_buffer,
- REGISTER_RAW_SIZE (hi.reg));
+ deprecated_write_register_bytes (REGISTER_BYTE (hi.reg), raw_buffer,
+ REGISTER_RAW_SIZE (hi.reg));
}
}