diff options
Diffstat (limited to 'gdb/remote-vxmips.c')
-rw-r--r-- | gdb/remote-vxmips.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-vxmips.c b/gdb/remote-vxmips.c index 28a4070..861ef68 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. */ |