+2016-02-29 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Support
+ eventfd2, eventfd2, dup3, inotify_init1, fallocate and pipe2.
+ Return gdb_sys_epoll_create1 instead of gdb_sys_epoll_create
+ for aarch64_sys_epoll_create1.
+
2016-02-29 Yao Qi <yao.qi@linaro.org>
* linux-record.h (enum gdb_syscall) <gdb_sys_fallocate>: New.
SYSCALL_MAP (fremovexattr);
SYSCALL_MAP (getcwd);
SYSCALL_MAP (lookup_dcookie);
- UNSUPPORTED_SYSCALL_MAP (eventfd2);
-
- case aarch64_sys_epoll_create1:
- return gdb_sys_epoll_create;
-
+ SYSCALL_MAP (eventfd2);
+ SYSCALL_MAP (epoll_create1);
SYSCALL_MAP (epoll_ctl);
SYSCALL_MAP (epoll_pwait);
SYSCALL_MAP (dup);
- UNSUPPORTED_SYSCALL_MAP (dup3);
+ SYSCALL_MAP (dup3);
SYSCALL_MAP (fcntl);
- UNSUPPORTED_SYSCALL_MAP (inotify_init1);
+ SYSCALL_MAP (inotify_init1);
SYSCALL_MAP (inotify_add_watch);
SYSCALL_MAP (inotify_rm_watch);
SYSCALL_MAP (ioctl);
SYSCALL_MAP (statfs);
SYSCALL_MAP (truncate);
SYSCALL_MAP (ftruncate);
- UNSUPPORTED_SYSCALL_MAP (fallocate);
+ SYSCALL_MAP (fallocate);
SYSCALL_MAP (faccessat);
SYSCALL_MAP (fchdir);
SYSCALL_MAP (chroot);
SYSCALL_MAP (openat);
SYSCALL_MAP (close);
SYSCALL_MAP (vhangup);
- UNSUPPORTED_SYSCALL_MAP (pipe2);
+ SYSCALL_MAP (pipe2);
SYSCALL_MAP (quotactl);
SYSCALL_MAP (getdents64);
SYSCALL_MAP (lseek);