* i386-tdep.c (i386_process_record): Change bzero to memset.
This commit is contained in:
parent
e7a8dbfb06
commit
8408d2743c
@ -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>
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user