From 5e31abdf71821ee0b43ee64f95b3ee7d161835b5 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Sun, 24 May 2009 04:42:51 +0000 Subject: * 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. --- gdb/linux-record.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/linux-record.c') diff --git a/gdb/linux-record.c b/gdb/linux-record.c index d0898ff..04ae26a 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) -- cgit v1.1