aboutsummaryrefslogtreecommitdiff
path: root/gdb/convex-xdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/convex-xdep.c')
-rw-r--r--gdb/convex-xdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/convex-xdep.c b/gdb/convex-xdep.c
index 84bddd2..ee70f9f 100644
--- a/gdb/convex-xdep.c
+++ b/gdb/convex-xdep.c
@@ -282,7 +282,7 @@ read_inferior_memory (memaddr, myaddr, len)
len -= i;
}
if (errno)
- bzero (myaddr, len);
+ memset (myaddr, '\0', len);
return errno;
}
@@ -391,7 +391,7 @@ read_vector_register (reg)
ps.pi_thread = inferior_thread;
ioctl (inferior_fd, PIXRDVREGS, &ps);
if (errno)
- bzero (&vector_registers, sizeof vector_registers);
+ memset (&vector_registers, '\0', sizeof vector_registers);
}
else if (corechan >= 0)
{