diff options
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index c2515fe..718a01c 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -2993,7 +2993,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, uint32_t opcode; struct i386_record_s ir; - bzero (&ir, sizeof (struct i386_record_s)); + memset (&ir, 0, sizeof (struct i386_record_s)); ir.regcache = regcache; ir.addr = addr; ir.aflag = 1; |