* i386-tdep.c (i386_process_record): Change bzero to memset.

This commit is contained in:
Hui Zhu 2009-05-06 11:16:40 +00:00
parent e7a8dbfb06
commit 8408d2743c
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-05-06 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_process_record): Change bzero to memset.
2008-05-06 Hui Zhu <teawater@gmail.com>
* NEWS: Add item for process record and replay.

View File

@ -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;