2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
+ * linux-record.c (record_linux_system_call): Fix newstatat.
+
+2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
+
* linux-record.c (record_linux_system_call): Fix [gs]etgroups16.
2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
case gdb_sys_newstat:
case gdb_sys_newlstat:
case gdb_sys_newfstat:
- case gdb_sys_newfstatat:
regcache_raw_read_unsigned (regcache, tdep->arg2, &tmpulongest);
if (record_full_arch_list_add_mem ((CORE_ADDR) tmpulongest,
tdep->size_stat))
return -1;
break;
+ case gdb_sys_newfstatat:
+ regcache_raw_read_unsigned (regcache, tdep->arg3, &tmpulongest);
+ if (record_full_arch_list_add_mem ((CORE_ADDR) tmpulongest,
+ tdep->size_stat))
+ return -1;
+ break;
+
case gdb_sys_uname:
regcache_raw_read_unsigned (regcache, tdep->arg1, &tmpulongest);
if (record_full_arch_list_add_mem ((CORE_ADDR) tmpulongest,