From: Hui Zhu Date: Mon, 8 Mar 2010 12:57:11 +0000 (+0000) Subject: 2010-03-08 Hui Zhu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=580879fcfcc81684d0b105afe8f27975659fa99e;p=binutils-gdb.git 2010-03-08 Hui Zhu * i386-tdep.c (i386_process_record): Initialize regnum. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 71a46794e03..95d0bff2b2b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-03-08 Hui Zhu + + * i386-tdep.c (i386_process_record): Initialize regnum. + 2010-03-08 Jan Kratochvil * symfile.c (addr_info_make_relative): New variable sect_name, use it. diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index bcda17ca38f..115bcb9dbff 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;