aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2010-03-04 07:53:20 +0000
committerHui Zhu <teawater@gmail.com>2010-03-04 07:53:20 +0000
commit2e3ceee9bd6f5b1006be200faf78b1fdc1e8f4c8 (patch)
tree5be454b7cb798534bd0b3c5b93ce36ecda4f128a /gdb/i386-tdep.c
parent8af6b354b46907fab331b3cba5a812f97c732c88 (diff)
downloadgdb-2e3ceee9bd6f5b1006be200faf78b1fdc1e8f4c8.zip
gdb-2e3ceee9bd6f5b1006be200faf78b1fdc1e8f4c8.tar.gz
gdb-2e3ceee9bd6f5b1006be200faf78b1fdc1e8f4c8.tar.bz2
2010-03-04 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_process_record): Change "addr" to "tmpu64".
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 208ed2c..05afa56 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))