mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
* i386-tdep.c (i386_process_record): Change bzero to memset.
This commit is contained in:
@ -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>
|
2008-05-06 Hui Zhu <teawater@gmail.com>
|
||||||
|
|
||||||
* NEWS: Add item for process record and replay.
|
* NEWS: Add item for process record and replay.
|
||||||
|
@ -2993,7 +2993,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache,
|
|||||||
uint32_t opcode;
|
uint32_t opcode;
|
||||||
struct i386_record_s ir;
|
struct i386_record_s ir;
|
||||||
|
|
||||||
bzero (&ir, sizeof (struct i386_record_s));
|
memset (&ir, 0, sizeof (struct i386_record_s));
|
||||||
ir.regcache = regcache;
|
ir.regcache = regcache;
|
||||||
ir.addr = addr;
|
ir.addr = addr;
|
||||||
ir.aflag = 1;
|
ir.aflag = 1;
|
||||||
|
Reference in New Issue
Block a user