From 2e3ceee9bd6f5b1006be200faf78b1fdc1e8f4c8 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Thu, 4 Mar 2010 07:53:20 +0000 Subject: [PATCH] 2010-03-04 Hui Zhu * i386-tdep.c (i386_process_record): Change "addr" to "tmpu64". --- gdb/ChangeLog | 4 ++++ gdb/i386-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8a2361caa8..27a749d55b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-03-04 Hui Zhu + + * i386-tdep.c (i386_process_record): Change "addr" to "tmpu64". + 2010-03-03 Pedro Alves * utils.c (fputs_maybe_filtered): Always disable pagination if the diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 208ed2cbb8..05afa56564 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -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))