diff options
author | Hui Zhu <teawater@gmail.com> | 2009-05-24 04:42:51 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2009-05-24 04:42:51 +0000 |
commit | 5e31abdf71821ee0b43ee64f95b3ee7d161835b5 (patch) | |
tree | 902c59ded842c4635fcf52fcf02a61d75596742d /gdb/linux-record.c | |
parent | 2acc282a5a9d6787b2627abdc41992c9a9949e51 (diff) | |
download | binutils-gdb-5e31abdf71821ee0b43ee64f95b3ee7d161835b5.tar.gz |
* i386-linux-tdep.c (I386_LINUX_RECORD_SIZE_*,
I386_LINUX_RECORD_IOCTL_*,
I386_LINUX_RECORD_FCNTL_*) Removed.
(i386_linux_init_abi): Change size of record from macros to
numbers.
* i386-linux-tdep.c (i386_linux_init_abi): Remove size_char.
* linux-record.c (record_linux_system_call): Ditto.
* linux-record.h (linux_record_tdep): Ditto.
Diffstat (limited to 'gdb/linux-record.c')
-rw-r--r-- | gdb/linux-record.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/linux-record.c b/gdb/linux-record.c index d0898ffe5e5..04ae26aced3 100644 --- a/gdb/linux-record.c +++ b/gdb/linux-record.c @@ -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) |