diff options
author | K. Richard Pixley <rich@cygnus> | 1993-09-01 21:56:42 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-09-01 21:56:42 +0000 |
commit | 4ed97c9a835c5d05a900e66b997eb6e77a141950 (patch) | |
tree | 3aac1dc65931f319327cf00df82e4fe0efc7b40d /gdb/convex-xdep.c | |
parent | 9823e3f4c985eb5919103cc84acf2a6055ed724f (diff) | |
download | gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.zip gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.gz gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.bz2 |
bzero -> memset
Diffstat (limited to 'gdb/convex-xdep.c')
-rw-r--r-- | gdb/convex-xdep.c | 4 |
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) { |