summaryrefslogtreecommitdiff
path: root/gdb/remote-vxmips.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-30 13:23:49 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-30 13:23:49 +0000
commit4382c23149a8bd6d438c7d2c73e599fddf56d333 (patch)
tree58ee1ed13de70bac0388ae61b12d85dad1943ab8 /gdb/remote-vxmips.c
parent7efb824a6a520583319a602c4b60a6d5a2b03a32 (diff)
downloadgdb-4382c23149a8bd6d438c7d2c73e599fddf56d333.tar.gz
2003-09-30 Andrew Cagney <cagney@redhat.com>
* remote-vxsparc.c (vx_read_register): Replace bzero with memset. * remote-vxmips.c (vx_read_register): Ditto. * remote-vx68.c (vx_read_register): Ditto. * gnu-nat.c (inf_validate_procs): Ditto.
Diffstat (limited to 'gdb/remote-vxmips.c')
-rw-r--r--gdb/remote-vxmips.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-vxmips.c b/gdb/remote-vxmips.c
index 28a4070b751..861ef6814e8 100644
--- a/gdb/remote-vxmips.c
+++ b/gdb/remote-vxmips.c
@@ -141,10 +141,10 @@ vx_read_register (int regno)
}
else
{
- bzero ((char *) &deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)],
- REGISTER_RAW_SIZE (FP0_REGNUM) * 32);
- bzero ((char *) &deprecated_registers[DEPRECATED_REGISTER_BYTE (FCRCS_REGNUM)],
- REGISTER_RAW_SIZE (FCRCS_REGNUM));
+ memset (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)],
+ 0, REGISTER_RAW_SIZE (FP0_REGNUM) * 32);
+ memset (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FCRCS_REGNUM)],
+ 0, REGISTER_RAW_SIZE (FCRCS_REGNUM));
}
/* Mark the register cache valid. */