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/mips-tdep.c | |
parent | 9823e3f4c985eb5919103cc84acf2a6055ed724f (diff) | |
download | gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.zip gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.gz gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.bz2 |
bzero -> memset
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index f437abe..d2d712a 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -187,8 +187,8 @@ heuristic_proc_desc(start_pc, limit_pc, next_frame) unsigned long reg_mask = 0; if (start_pc == 0) return NULL; - bzero(&temp_proc_desc, sizeof(temp_proc_desc)); - bzero(&temp_saved_regs, sizeof(struct frame_saved_regs)); + memset(&temp_proc_desc, '\0', sizeof(temp_proc_desc)); + memset(&temp_saved_regs, '\0', sizeof(struct frame_saved_regs)); PROC_LOW_ADDR(&temp_proc_desc) = start_pc; if (start_pc + 200 < limit_pc) limit_pc = start_pc + 200; |