X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Flinux-record.h;h=b317ab106e4d31c8cbdf9e632694101ddd86192a;hb=a8836c9358a11055a08d11ecacc5d7c8f6d5e7a8;hp=7315863749df8ffe61ac4ebf61dc8809901ab448;hpb=13b6d1d459210ab9ad250fc24df977bb1b178a3a;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/linux-record.h b/gdb/linux-record.h index 7315863749..b317ab106e 100644 --- a/gdb/linux-record.h +++ b/gdb/linux-record.h @@ -1,6 +1,6 @@ /* Process record and replay target code for GNU/Linux. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -39,8 +39,7 @@ struct linux_record_tdep int size_old_gid_t; int size_old_uid_t; int size_fd_set; - int size_dirent; - int size_dirent64; + int size_old_dirent; int size_statfs; int size_statfs64; int size_sockaddr; @@ -81,7 +80,6 @@ struct linux_record_tdep int size_epoll_event; int size_itimerspec; int size_mq_attr; - int size_siginfo; int size_termios; int size_termios2; int size_pid_t; @@ -91,6 +89,7 @@ struct linux_record_tdep int size_hayes_esp_config; int size_size_t; int size_iovec; + int size_time_t; /* The values of the second argument of system call "sys_ioctl". */ int ioctl_TCGETS; @@ -174,6 +173,7 @@ struct linux_record_tdep int arg4; int arg5; int arg6; + int arg7; }; /* Enum that defines the gdb-canonical set of Linux syscall identifiers. @@ -181,6 +181,9 @@ struct linux_record_tdep each must provide a mapping from their set to this one. */ enum gdb_syscall { + /* An unknown GDB syscall, not a real syscall. */ + gdb_sys_no_syscall = -1, + gdb_sys_restart_syscall = 0, gdb_sys_exit = 1, gdb_sys_fork = 2, @@ -501,6 +504,12 @@ enum gdb_syscall { gdb_sys_move_pages = 317, gdb_sys_getcpu = 318, gdb_sys_epoll_pwait = 319, + gdb_sys_fallocate = 324, + gdb_sys_eventfd2 = 328, + gdb_sys_epoll_create1 = 329, + gdb_sys_dup3 = 330, + gdb_sys_pipe2 = 331, + gdb_sys_inotify_init1 = 332, gdb_sys_socket = 500, gdb_sys_connect = 501, gdb_sys_accept = 502,