diff options
author | Hui Zhu <teawater@gmail.com> | 2010-03-08 12:57:11 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2010-03-08 12:57:11 +0000 |
commit | 580879fcfcc81684d0b105afe8f27975659fa99e (patch) | |
tree | 20f3534636822b14b58e985a3d70e02d5741e44c /gdb/i386-tdep.c | |
parent | b0fcb67f7dba1fb2a54a1b4692efd84dd770d2ce (diff) | |
download | gdb-580879fcfcc81684d0b105afe8f27975659fa99e.zip gdb-580879fcfcc81684d0b105afe8f27975659fa99e.tar.gz gdb-580879fcfcc81684d0b105afe8f27975659fa99e.tar.bz2 |
2010-03-08 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_process_record): Initialize regnum.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index bcda17c..115bcb9 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -3310,7 +3310,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, CORE_ADDR input_addr) { int prefixes = 0; - int regnum; + int regnum = 0; uint32_t opcode; uint8_t opcode8; ULONGEST addr; |