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/rs6000-tdep.c | |
parent | 9823e3f4c985eb5919103cc84acf2a6055ed724f (diff) | |
download | ppe42-binutils-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.gz ppe42-binutils-4ed97c9a835c5d05a900e66b997eb6e77a141950.zip |
bzero -> memset
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 03fbdb39fd..3198fc6b60 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -987,7 +987,7 @@ frame_get_cache_fsr (fi, fdatap) fi->cache_fsr = (struct frame_saved_regs *) obstack_alloc (&frame_cache_obstack, sizeof (struct frame_saved_regs)); - bzero (fi->cache_fsr, sizeof (struct frame_saved_regs)); + memset (fi->cache_fsr, '\0', sizeof (struct frame_saved_regs)); if (fi->prev && fi->prev->frame) frame_addr = fi->prev->frame; |