aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-05-06 11:16:40 +0000
committerHui Zhu <teawater@gmail.com>2009-05-06 11:16:40 +0000
commit8408d2743c9758b17020f951617dda664c051db0 (patch)
tree3084455a03eb5e463a306ccb2f8457b1cb7763a3 /gdb/i386-tdep.c
parente7a8dbfb0668470c813d8b31f92636a16ad65050 (diff)
downloadgdb-8408d2743c9758b17020f951617dda664c051db0.zip
gdb-8408d2743c9758b17020f951617dda664c051db0.tar.gz
gdb-8408d2743c9758b17020f951617dda664c051db0.tar.bz2
* i386-tdep.c (i386_process_record): Change bzero to memset.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c2
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;