aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx68.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-vx68.c')
-rw-r--r--gdb/remote-vx68.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-vx68.c b/gdb/remote-vx68.c
index 3e21fe6..8cdac6f 100644
--- a/gdb/remote-vx68.c
+++ b/gdb/remote-vx68.c
@@ -111,10 +111,10 @@ vx_read_register (int regno)
}
else
{
- bzero (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)],
- MC68K_FPREG_SIZE * 8);
- bzero (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FPC_REGNUM)],
- MC68K_FPREG_PLEN - (MC68K_FPREG_SIZE * 8));
+ memset (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)],
+ 0, MC68K_FPREG_SIZE * 8);
+ memset (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FPC_REGNUM)],
+ 0, MC68K_FPREG_PLEN - (MC68K_FPREG_SIZE * 8));
}
/* Mark the register cache valid. */