aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2010-03-08 12:57:11 +0000
committerHui Zhu <teawater@gmail.com>2010-03-08 12:57:11 +0000
commit580879fcfcc81684d0b105afe8f27975659fa99e (patch)
tree20f3534636822b14b58e985a3d70e02d5741e44c /gdb/i386-tdep.c
parentb0fcb67f7dba1fb2a54a1b4692efd84dd770d2ce (diff)
downloadgdb-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.c2
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;