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/h8500-tdep.c | |
parent | 9823e3f4c985eb5919103cc84acf2a6055ed724f (diff) | |
download | gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.zip gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.gz gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.bz2 |
bzero -> memset
Diffstat (limited to 'gdb/h8500-tdep.c')
-rw-r--r-- | gdb/h8500-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/h8500-tdep.c b/gdb/h8500-tdep.c index aa38226..dcf80a0 100644 --- a/gdb/h8500-tdep.c +++ b/gdb/h8500-tdep.c @@ -164,7 +164,7 @@ frame_find_saved_regs (fi, fsr) cache_fsr = (struct frame_saved_regs *) obstack_alloc (&frame_cache_obstack, sizeof (struct frame_saved_regs)); - bzero (cache_fsr, sizeof (struct frame_saved_regs)); + memset (cache_fsr, '\0', sizeof (struct frame_saved_regs)); fi->fsr = cache_fsr; @@ -485,7 +485,7 @@ frame_find_saved_regs (frame_info, frame_saved_regs) register CORE_ADDR pc; unsigned char thebyte; - bzero (frame_saved_regs, sizeof *frame_saved_regs); + memset (frame_saved_regs, '\0', sizeof *frame_saved_regs); if ((frame_info)->pc >= (frame_info)->frame - CALL_DUMMY_LENGTH - FP_REGNUM * 4 - 4 && (frame_info)->pc <= (frame_info)->frame) |