aboutsummaryrefslogtreecommitdiff
path: root/gdb/m88k-tdep.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-01 21:56:42 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-01 21:56:42 +0000
commit4ed97c9a835c5d05a900e66b997eb6e77a141950 (patch)
tree3aac1dc65931f319327cf00df82e4fe0efc7b40d /gdb/m88k-tdep.c
parent9823e3f4c985eb5919103cc84acf2a6055ed724f (diff)
downloadgdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.zip
gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.gz
gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.bz2
bzero -> memset
Diffstat (limited to 'gdb/m88k-tdep.c')
-rw-r--r--gdb/m88k-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c
index 62f7f06..952488c 100644
--- a/gdb/m88k-tdep.c
+++ b/gdb/m88k-tdep.c
@@ -217,7 +217,7 @@ examine_prologue (ip, limit, frame_sp, fsr, fi)
int fp_offset = -1; /* -1 means not set */
CORE_ADDR frame_fp;
- bzero (must_adjust, sizeof (must_adjust));
+ memset (must_adjust, '\0', sizeof (must_adjust));
next_ip = NEXT_PROLOGUE_INSN (ip, limit, &insn);
/* Accept move of incoming registers to other registers, using
@@ -479,7 +479,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;
/* Find the start and end of the function prologue. If the PC