2010-03-04 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Thu, 4 Mar 2010 07:53:20 +0000 (07:53 +0000)
committerHui Zhu <teawater@gmail.com>
Thu, 4 Mar 2010 07:53:20 +0000 (07:53 +0000)
* i386-tdep.c (i386_process_record): Change "addr" to "tmpu64".

gdb/ChangeLog
gdb/i386-tdep.c

index 8a2361caa87e244df3f6a0bdc505399b7ca8f6d0..27a749d55b3ef3f59c335935311d4077bcea2ec6 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-04  Hui Zhu  <teawater@gmail.com>
+
+       * i386-tdep.c (i386_process_record): Change "addr" to "tmpu64".
+
 2010-03-03  Pedro Alves  <pedro@codesourcery.com>
 
        * utils.c (fputs_maybe_filtered): Always disable pagination if the
index 208ed2cbb8881d922c3fb3d138d4b36f1e891801..05afa5656400dfebdb0779c68f35ebb317579dd3 100644 (file)
@@ -5388,7 +5388,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache,
                    return -1;
                  if (record_arch_list_add_mem (tmpu64, 2))
                    return -1;
-                 addr += 2;
+                 tmpu64 += 2;
                   if (ir.regmap[X86_RECORD_R8_REGNUM])
                     {
                       if (record_arch_list_add_mem (tmpu64, 8))