* i386-linux-tdep.c (I386_LINUX_RECORD_SIZE_*,
[deliverable/binutils-gdb.git] / gdb / linux-record.c
index d0898ffe5e518e6cff6d96b8fc0d4dea024c4ade..04ae26aced3d7a5993398caad147458d7603e998 100644 (file)
@@ -345,7 +345,8 @@ record_linux_system_call (int num, struct regcache *regcache,
        {
          regcache_raw_read (regcache, tdep->arg3,
                             (gdb_byte *) & tmpu32);
-         if (record_arch_list_add_mem (tmpu32, tdep->size_char))
+          /* This syscall affect a char size memory.  */
+         if (record_arch_list_add_mem (tmpu32, 1))
            return -1;
        }
       else if (tmpu32 == tdep->ioctl_TIOCGSERIAL)
This page took 0.02389 seconds and 4 git commands to generate.