* 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,6 +1,10 @@
2008-05-06 Hui Zhu <teawater@gmail.com>
* NEWS: Add item for process record and replay.
* 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.
2009-05-05 Maxim Grigoriev <maxim2405@gmail.com>

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;