aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vxsparc.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
commit4deab7378b2e02751de8e835f30b2233685afefd (patch)
tree10f8bc23e21d527f495000546448e7eeb3c22d41 /gdb/remote-vxsparc.c
parent7ed2b4e229a3996bc9a5594b8b3658eeff1deddb (diff)
downloadgdb-4deab7378b2e02751de8e835f30b2233685afefd.zip
gdb-4deab7378b2e02751de8e835f30b2233685afefd.tar.gz
gdb-4deab7378b2e02751de8e835f30b2233685afefd.tar.bz2
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-vxsparc.c')
-rw-r--r--gdb/remote-vxsparc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-vxsparc.c b/gdb/remote-vxsparc.c
index 339b99f..c43db26 100644
--- a/gdb/remote-vxsparc.c
+++ b/gdb/remote-vxsparc.c
@@ -124,10 +124,10 @@ vx_read_register (int regno)
}
else
{
- bzero (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)],
- 32 * SPARC_FPREG_SIZE);
- bzero (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FPS_REGNUM)],
- 1 * SPARC_FPREG_SIZE);
+ memset (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)],
+ 0, 32 * SPARC_FPREG_SIZE);
+ memset (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FPS_REGNUM)],
+ 0, 1 * SPARC_FPREG_SIZE);
}
/* Mark the register cache valid. */