mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* 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.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user